summaryrefslogtreecommitdiff
path: root/elisp/geiser-repl.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2012-10-24 05:04:46 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2012-10-24 05:04:46 +0200
commit5b77d598ee04f324cbaf4eaacfe71e534bb2ed34 (patch)
tree1b3821422fb101e48255d9b84bb95231c8f31343 /elisp/geiser-repl.el
parent08b4499a0c440279257b38d49003ea5a6c848a45 (diff)
downloadgeiser-chez-5b77d598ee04f324cbaf4eaacfe71e534bb2ed34.tar.gz
geiser-chez-5b77d598ee04f324cbaf4eaacfe71e534bb2ed34.tar.bz2
Completing file names at the REPL
When no other completion is available, that is.
Diffstat (limited to 'elisp/geiser-repl.el')
-rw-r--r--elisp/geiser-repl.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index 449a136..dce6143 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -545,7 +545,9 @@ there's no symbol at point). Otherwise, go to next error in the REPL
buffer."
(interactive "p")
(if (>= (point) (geiser-repl--last-prompt-end))
- (or (completion-at-point) (lisp-indent-line))
+ (or (completion-at-point)
+ (comint-replace-by-expanded-filename)
+ (lisp-indent-line))
(compilation-next-error n)))
(defun geiser-repl--previous-error (n)