aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-06-21 21:09:42 +0800
committer宋文武 <iyzsong@gmail.com>2015-06-23 13:09:50 +0800
commit49dc60f836da7965fc4f8a5e2876ddd0216e9b53 (patch)
tree8edcb48c1e27bda2392299c810579c7e74041549 /gnu
parent607a04ae800d86b7e1c12e153b5ee6461bca8145 (diff)
downloadgnu-guix-49dc60f836da7965fc4f8a5e2876ddd0216e9b53.tar
gnu-guix-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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system.scm8
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."