summaryrefslogtreecommitdiff
path: root/elisp/geiser-guile.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2016-12-03 01:57:51 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2016-12-03 01:57:51 +0100
commitb3d0caa7e3d4d7eed9233d10b6119d49ca18ec8f (patch)
tree04dbd28597ed6f05d1a19f346e864d06dcb246e1 /elisp/geiser-guile.el
parentb57f4bb08c3375e21ae55e7d64b80d6bdecab897 (diff)
downloadgeiser-guile-b3d0caa7e3d4d7eed9233d10b6119d49ca18ec8f.tar.gz
geiser-guile-b3d0caa7e3d4d7eed9233d10b6119d49ca18ec8f.tar.bz2
Bug fix: expanding file name at the right time
We were expanding the path of files to be loaded at the wrong place in the wrong way. This should be better and address bug #196.
Diffstat (limited to 'elisp/geiser-guile.el')
-rw-r--r--elisp/geiser-guile.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/elisp/geiser-guile.el b/elisp/geiser-guile.el
index 0b71edf..dacca55 100644
--- a/elisp/geiser-guile.el
+++ b/elisp/geiser-guile.el
@@ -158,8 +158,7 @@ This function uses `geiser-guile-init-file' if it exists."
(or (car args) "#f")
(geiser-guile--linearize-args (cdr args))
(if (cddr args) "" " ()")))
- ((load-file compile-file)
- (format ",geiser-load-file %s" (expand-file-name (car args))))
+ ((load-file compile-file) (format ",geiser-load-file %s" (car args)))
((no-values) ",geiser-no-values")
(t (format "ge:%s (%s)" proc (geiser-guile--linearize-args args)))))