Browse Source

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.
version-0.8.3
宋文武 7 years ago
parent
commit
49dc60f836
  1. 8
      gnu/system.scm

8
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."

Loading…
Cancel
Save