summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2013-01-22 17:21:00 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2013-01-22 17:21:00 +0100
commit9cdd48af25b299c32adb7dd1ddd025a5bc6fd1cf (patch)
tree5dd8f6ea340cf3820b78e5da24f935c79af4d819
parent9ded8b3b3b3cb0739c4650f55bb2190f16786bea (diff)
downloadgeiser-chez-9cdd48af25b299c32adb7dd1ddd025a5bc6fd1cf.tar.gz
geiser-chez-9cdd48af25b299c32adb7dd1ddd025a5bc6fd1cf.tar.bz2
Using comint-dynamic-complete-filename
.. which seems to be available also in emacs 23.2 (although reports as to whether it works are mixed), and has better behaviour anyways.
-rw-r--r--elisp/geiser-completion.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el
index 94de459..6459bb1 100644
--- a/elisp/geiser-completion.el
+++ b/elisp/geiser-completion.el
@@ -150,7 +150,8 @@ we're looking for a module name.")
(defun geiser-completion--for-filename ()
(when (geiser-syntax--in-string-p)
- (comint-filename-completion)))
+ (let ((comint-completion-addsuffix "\""))
+ (comint-dynamic-complete-filename))))
(defun geiser-completion--setup (enable)
(set (make-local-variable 'completion-at-point-functions)