From 956ebbe3e14c3080dc5fc7440e2eef33d2c69a74 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/geiser-repl.el') 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