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:
parent
607a04ae80
commit
49dc60f836
|
@ -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."
|
||||||
|
|
Loading…
Reference in New Issue