summaryrefslogtreecommitdiff
path: root/elisp/geiser-compile.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-04-09 17:21:08 +0100
committerjao <jao@gnu.org>2022-04-09 17:21:08 +0100
commit5b9532a571b28f1f82f0eaaecc1f7792473bdc6c (patch)
treee87f85c30a6413ed8ac6d5b779ef65f0db790282 /elisp/geiser-compile.el
parent9507e81a075351d090fd1f4f708efd05d6470cba (diff)
downloadgeiser-5b9532a571b28f1f82f0eaaecc1f7792473bdc6c.tar.gz
geiser-5b9532a571b28f1f82f0eaaecc1f7792473bdc6c.tar.bz2
A bit more tramp-friendliness
Fixes #45. Thanks to Brian Cully.
Diffstat (limited to 'elisp/geiser-compile.el')
-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 c513606..903c570 100644
--- a/elisp/geiser-compile.el
+++ b/elisp/geiser-compile.el
@@ -65,7 +65,7 @@ With prefix, restart REPL before compiling the file."
(defun geiser-load-file (path)
"Load Scheme file."
(interactive "FScheme file: ")
- (geiser-compile--file-op (expand-file-name path) nil "Loading"))
+ (geiser-compile--file-op (file-local-name (expand-file-name path)) nil "Loading"))
(defun geiser-load-current-buffer (&optional restart-p)
"Load current Scheme file.