summaryrefslogtreecommitdiff
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
commit956ebbe3e14c3080dc5fc7440e2eef33d2c69a74 (patch)
tree6b2d7f1d22a4689054de4696e4fdb2ac6a960be0
parentb7c6c0427bbf6e8bfdf06bb45a6cbed7de399478 (diff)
downloadgeiser-956ebbe3e14c3080dc5fc7440e2eef33d2c69a74.tar.gz
geiser-956ebbe3e14c3080dc5fc7440e2eef33d2c69a74.tar.bz2
Completing file names at the REPL
When no other completion is available, that is.
-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)