aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/guix-config.el.in4
-rw-r--r--emacs/guix-external.el7
2 files changed, 10 insertions, 1 deletions
diff --git a/emacs/guix-config.el.in b/emacs/guix-config.el.in
index 16434cecea..c7affb8c6d 100644
--- a/emacs/guix-config.el.in
+++ b/emacs/guix-config.el.in
@@ -1,6 +1,7 @@
;;; guix-config.el --- Compile-time configuration of Guix.
;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
+;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
@@ -35,6 +36,9 @@ strings of the form:
Where ARGS is a list of arguments to the guile program.")
+(defconst guix-config-dot-program "@DOT_USER_PROGRAM@"
+ "Name of the 'dot' executable defined at configure time.")
+
(provide 'guix-config)
;;; guix-config.el ends here
diff --git a/emacs/guix-external.el b/emacs/guix-external.el
index 580676ef91..cf4bd26ac7 100644
--- a/emacs/guix-external.el
+++ b/emacs/guix-external.el
@@ -23,11 +23,16 @@
;;; Code:
+(require 'guix-config)
+
(defgroup guix-external nil
"Settings for external programs."
:group 'guix)
-(defcustom guix-dot-program (executable-find "dot")
+(defcustom guix-dot-program
+ (if (file-name-absolute-p guix-config-dot-program)
+ guix-config-dot-program
+ (executable-find "dot"))
"Name of the 'dot' executable."
:type 'string
:group 'guix-external)
ocales'....Ludovic Courtès 2019-04-26installer: Actually reboot when the user presses "Reboot."...Ludovic Courtès 2019-04-26installer: Run wrapped program with 'execl', not 'system'....Ludovic Courtès 2019-04-17installer: Translate keyboard layout names....Ludovic Courtès 2019-04-17installer: Display language and territory names natively....Ludovic Courtès 2019-04-12installer: Choosing a locale opens the translated manual on tty2....Ludovic Courtès 2019-04-07installer: Generalize desktop environments to system services....Ludovic Courtès 2019-04-07installer: Move the 'locale' step before the 'welcome' step....Ludovic Courtès 2019-03-27installer: Produce an 'initrd-modules' field if needed....Ludovic Courtès 2019-03-25installer: Set the system's 'keyboard-layout' field....Ludovic Courtès 2019-01-28gnu: Move most packages from guile.scm to new module....Ricardo Wurmus 2019-01-17installer: Various renamings....Mathieu Othacehe 2019-01-17installer: partionment: Add encryption support....Mathieu Othacehe 2019-01-17installer: Display an eventual backtrace in a page....Mathieu Othacehe 2019-01-17installer: Reorder partitionment step....Mathieu Othacehe 2019-01-17installer: Add partitioning support....Mathieu Othacehe 2019-01-17installer: Fix comments....Mathieu Othacehe 2019-01-17installer: Add hostname....Mathieu Othacehe 2019-01-17installer: Add services page....Mathieu Othacehe 2019-01-17installer: Do not ask for keyboard model....Mathieu Othacehe 2019-01-17installer: Add configuration formatter....Mathieu Othacehe 2019-01-17installer: Fix locale installation....Mathieu Othacehe 2019-01-17installer: Move everything to the build side....Mathieu Othacehe 2019-01-17gnu: Add graphical installer support....Mathieu Othacehe