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 | 30c8dece764d740fba70fd2659e02f8115283ba0 (patch) | |
tree | 9cc80e7c8bc4a1282818243308e6807830201f81 | |
parent | da22081dce07f85ae7e1892674cb6566225a4a92 (diff) | |
download | geiser-30c8dece764d740fba70fd2659e02f8115283ba0.tar.gz geiser-30c8dece764d740fba70fd2659e02f8115283ba0.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.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) |