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.
This commit is contained in:
parent
862d2479f6
commit
59dc56390d
@ -202,7 +202,7 @@ this address (it should be defined by
|
|||||||
;; A mix of the code from `geiser-repl--start-repl' and
|
;; A mix of the code from `geiser-repl--start-repl' and
|
||||||
;; `geiser-repl--to-repl-buffer'.
|
;; `geiser-repl--to-repl-buffer'.
|
||||||
(let ((impl 'guile)
|
(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-guile-load-path))
|
||||||
(geiser-repl-startup-time guix-repl-startup-time))
|
(geiser-repl-startup-time guix-repl-startup-time))
|
||||||
(with-current-buffer buffer
|
(with-current-buffer buffer
|
||||||
|
Loading…
Reference in New Issue
Block a user