From a1ca1b7a5014d24ec2d44121b62ac03ea2887c23 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 20 Nov 2014 21:12:58 +0100 Subject: 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. --- emacs/guix-backend.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3