[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: emacs: Expand 'guix-load-path'.
From: |
Alex Kost |
Subject: |
01/01: emacs: Expand 'guix-load-path'. |
Date: |
Mon, 23 Nov 2015 08:34:48 +0000 |
alezost pushed a commit to branch master
in repository guix.
commit 59dc56390d4c34ff891bf86429f69199f5714f95
Author: Alex Kost <address@hidden>
Date: Sun Nov 22 23:36:39 2015 +0300
emacs: Expand 'guix-load-path'.
Reported by Mathieu Lirzin <address@hidden> at
<http://lists.gnu.org/archive/html/guix-devel/2015-11/msg00585.html>.
* emacs/guix-backend.el (guix-start-repl): Expand 'guix-load-path' to
avoid a potentially relative directory name in Guile %load-path.
---
emacs/guix-backend.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/emacs/guix-backend.el b/emacs/guix-backend.el
index e7c158b..82383e4 100644
--- a/emacs/guix-backend.el
+++ b/emacs/guix-backend.el
@@ -202,7 +202,7 @@ 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 (cons guix-load-path
+ (geiser-guile-load-path (cons (expand-file-name guix-load-path)
geiser-guile-load-path))
(geiser-repl-startup-time guix-repl-startup-time))
(with-current-buffer buffer