aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-external.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-10-16 20:48:24 +0300
committerAlex Kost <alezost@gmail.com>2015-10-20 16:47:05 +0300
commit380566157de6b0f3ec952c768fac5baafac602f0 (patch)
tree6f58255d9d381006b3941aac3b25b8a925fae019 /emacs/guix-external.el
parent51805219a53311fc56e291b5762860062ef28446 (diff)
downloadpatches-380566157de6b0f3ec952c768fac5baafac602f0.tar
patches-380566157de6b0f3ec952c768fac5baafac602f0.tar.gz
emacs: config: Use "emacs-config-" prefix for constants.
* emacs/guix-config.el.in (guix-emacs-interface-directory, guix-state-directory): Rename to ... (guix-config-emacs-interface-directory, guix-config-state-directory): ...this. (guix-config-guile-program): New constant. (guix-guile-program): Move to ... * emacs/guix-external.el (guix-guile-program): ...here. Make it a 'defcustom'. * emacs/guix-profiles.el (guix-default-profile): Use 'guix-config-state-directory'. * emacs/guix-backend.el (guix-load-path): Use 'guix-config-emacs-interface-directory'.
Diffstat (limited to 'emacs/guix-external.el')
-rw-r--r--emacs/guix-external.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs/guix-external.el b/emacs/guix-external.el
index cf4bd26ac7..c80b36343d 100644
--- a/emacs/guix-external.el
+++ b/emacs/guix-external.el
@@ -29,6 +29,17 @@
"Settings for external programs."
:group 'guix)
+(defcustom guix-guile-program guix-config-guile-program
+ "Name of the 'guile' executable used for Guix REPL.
+May be either a string (the name of the executable) or a list of
+strings of the form:
+
+ (NAME . ARGS)
+
+Where ARGS is a list of arguments to the guile program."
+ :type 'string
+ :group 'guix-external)
+
(defcustom guix-dot-program
(if (file-name-absolute-p guix-config-dot-program)
guix-config-dot-program