From a1ca1b7a5014d24ec2d44121b62ac03ea2887c23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Thu, 20 Nov 2014 21:12:58 +0100
Subject: [PATCH] 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 65378886851..a320eae35ac 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)
-- 
GitLab