From 5b77d598ee04f324cbaf4eaacfe71e534bb2ed34 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Wed, 24 Oct 2012 05:04:46 +0200 Subject: Completing file names at the REPL When no other completion is available, that is. --- elisp/geiser-repl.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'elisp') 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) -- cgit v1.2.3