summaryrefslogtreecommitdiff
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
commit335bae6189928f4fcdaa56a34ddb68917cb8abaa (patch)
tree4e15ccebc316eae12fd8f11ffad54b0d0b41c621
parentf136cfbdd23a3e27463528e4eeb0e6fd0df770ef (diff)
downloadgeiser-335bae6189928f4fcdaa56a34ddb68917cb8abaa.tar.gz
geiser-335bae6189928f4fcdaa56a34ddb68917cb8abaa.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.
-rw-r--r--elisp/geiser-compile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-compile.el b/elisp/geiser-compile.el
index 26aad16..e22907f 100644
--- a/elisp/geiser-compile.el
+++ b/elisp/geiser-compile.el
@@ -59,7 +59,7 @@
(defun geiser-load-file (path)
"Load Scheme file."
(interactive "FScheme file: ")
- (geiser-compile--file-op path nil "Loading"))
+ (geiser-compile--file-op (expand-file-name path) nil "Loading"))
(defun geiser-load-current-buffer ()
"Load current Scheme file."