diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-21 00:01:27 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-21 00:01:27 +0100 |
commit | 4437f8d08a03e83e425742565f532cc0f5e768c8 (patch) | |
tree | 187e138d6a9eebc907e2290c5658a44d762e6ac3 /elisp/geiser-completion.el | |
parent | 5d6dd6f7e7c9f8abddfc59acf3f3318f594afb22 (diff) | |
download | geiser-guile-4437f8d08a03e83e425742565f532cc0f5e768c8.tar.gz geiser-guile-4437f8d08a03e83e425742565f532cc0f5e768c8.tar.bz2 |
Offer also local bindings as possible completions in M-TAB.
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 fd22044..accbd3d 100644 --- a/elisp/geiser-completion.el +++ b/elisp/geiser-completion.el @@ -155,7 +155,8 @@ terminates a current completion." (defun geiser-completion--complete (prefix modules) (let* ((symbols (if modules (geiser-completion--module-list) - (geiser-completion--symbol-list prefix))) + (append (geiser-syntax--local-bindings) + (geiser-completion--symbol-list prefix)))) (completions (all-completions prefix symbols)) (partial (try-completion prefix symbols)) (partial (if (eq partial t) prefix partial))) |