aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-11-22 23:36:39 +0300
committerAlex Kost <alezost@gmail.com>2015-11-23 11:33:55 +0300
commit59dc56390d4c34ff891bf86429f69199f5714f95 (patch)
tree75488b682f86414c7d0be38fed50a1bafe9abc0e /emacs
parent862d2479f686abaa4d1881ad6eafb689bec157e8 (diff)
downloadguix-59dc56390d4c34ff891bf86429f69199f5714f95.tar
guix-59dc56390d4c34ff891bf86429f69199f5714f95.tar.gz
emacs: Expand 'guix-load-path'.
Reported by Mathieu Lirzin <mthl@gnu.org> 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.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/guix-backend.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/guix-backend.el b/emacs/guix-backend.el
index e7c158bef4..82383e48ff 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