diff options
author | 宋文武 <iyzsong@gmail.com> | 2015-06-21 21:09:42 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2015-06-23 13:09:50 +0800 |
commit | 49dc60f836da7965fc4f8a5e2876ddd0216e9b53 (patch) | |
tree | 8edcb48c1e27bda2392299c810579c7e74041549 | |
parent | 607a04ae800d86b7e1c12e153b5ee6461bca8145 (diff) | |
download | patches-49dc60f836da7965fc4f8a5e2876ddd0216e9b53.tar patches-49dc60f836da7965fc4f8a5e2876ddd0216e9b53.tar.gz |
system: emacs-site-file: Use 'geiser-install to load geiser.
Suggested by Alex Kost <alezost@gmail.com>.
* gnu/system.scm (emacs-site-file): Use 'geiser-install to load geiser
instead of setting 'geiser-guile-load-path' manually.
-rw-r--r-- | gnu/system.scm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gnu/system.scm b/gnu/system.scm index 565d6c10c7..82b7fbc655 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -391,12 +391,8 @@ settings for 'guix.el' to work out-of-the-box." ;; Attempt to load guix.el. (require 'guix-init nil t) - (when (require 'geiser-guile nil t) - ;; Make sure Geiser's Scheme modules are in Guile's search - ;; path. - (add-to-list - 'geiser-guile-load-path - "/run/current-system/profile/share/geiser/guile"))))) + ;; Attempt to load geiser. + (require 'geiser-install nil t)))) (define (emacs-site-directory) "Return the Emacs site directory, aka. /etc/emacs." |