aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-20 21:12:58 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-20 21:14:39 +0100
commita1ca1b7a5014d24ec2d44121b62ac03ea2887c23 (patch)
tree750b01a469401cdb437f2bbcb364b1a711a606a2 /emacs
parent1d18d87f34d8476ab8cf26b13b3a3ec12223cdb6 (diff)
downloadguix-a1ca1b7a5014d24ec2d44121b62ac03ea2887c23.tar
guix-a1ca1b7a5014d24ec2d44121b62ac03ea2887c23.tar.gz
emacs: Don't override the user's 'geiser-guile-load-path'.
* emacs/guix-backend.el (guix-start-repl): Add GUIX-LOAD-PATH to the front of GEISER-GUILE-LOAD-PATH instead of overriding it.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/guix-backend.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/guix-backend.el b/emacs/guix-backend.el
index 6537888685..a320eae35a 100644
--- a/emacs/guix-backend.el
+++ b/emacs/guix-backend.el
@@ -206,7 +206,8 @@ this address (it should be defined by
;; A mix of the code from `geiser-repl--start-repl' and
;; `geiser-repl--to-repl-buffer'.
(let ((impl 'guile)
- (geiser-guile-load-path (list guix-load-path))
+ (geiser-guile-load-path (cons guix-load-path
+ geiser-guile-load-path))
(geiser-repl-startup-time guix-repl-startup-time))
(with-current-buffer buffer
(geiser-repl-mode)