diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-01-22 17:21:00 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-01-22 17:21:00 +0100 |
commit | 9cdd48af25b299c32adb7dd1ddd025a5bc6fd1cf (patch) | |
tree | 5dd8f6ea340cf3820b78e5da24f935c79af4d819 /elisp/geiser-completion.el | |
parent | 9ded8b3b3b3cb0739c4650f55bb2190f16786bea (diff) | |
download | geiser-guile-9cdd48af25b299c32adb7dd1ddd025a5bc6fd1cf.tar.gz geiser-guile-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.
Diffstat (limited to 'elisp/geiser-completion.el')
-rw-r--r-- | elisp/geiser-completion.el | 3 |
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) |