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.
This commit is contained in:
宋文武 2015-06-21 21:09:42 +08:00
parent 607a04ae80
commit 49dc60f836
1 changed files with 2 additions and 6 deletions

View File

@ -391,12 +391,8 @@ settings for 'guix.el' to work out-of-the-box."
;; Attempt to load guix.el. ;; Attempt to load guix.el.
(require 'guix-init nil t) (require 'guix-init nil t)
(when (require 'geiser-guile nil t) ;; Attempt to load geiser.
;; Make sure Geiser's Scheme modules are in Guile's search (require 'geiser-install nil t))))
;; path.
(add-to-list
'geiser-guile-load-path
"/run/current-system/profile/share/geiser/guile")))))
(define (emacs-site-directory) (define (emacs-site-directory)
"Return the Emacs site directory, aka. /etc/emacs." "Return the Emacs site directory, aka. /etc/emacs."