guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: system: emacs-site-file: Use 'geiser-install to load geiser.


From: ???
Subject: 01/02: system: emacs-site-file: Use 'geiser-install to load geiser.
Date: Tue, 23 Jun 2015 06:19:47 +0000

iyzsong pushed a commit to branch master
in repository guix.

commit 49dc60f836da7965fc4f8a5e2876ddd0216e9b53
Author: 宋文武 <address@hidden>
Date:   Sun Jun 21 21:09:42 2015 +0800

    system: emacs-site-file: Use 'geiser-install to load geiser.
    
    Suggested by Alex Kost <address@hidden>.
    
    * gnu/system.scm (emacs-site-file): Use 'geiser-install to load geiser
      instead of setting 'geiser-guile-load-path' manually.
---
 gnu/system.scm |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/gnu/system.scm b/gnu/system.scm
index 565d6c1..82b7fbc 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]