diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-03-01 00:41:08 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-03-01 00:41:08 +0100 |
commit | 04652644b47528d0a3ab00c6475a6752e7a1dbb5 (patch) | |
tree | 564400b089a9a7f30bc32bdb2088c58e7ebeba54 /elisp/geiser-completion.el | |
parent | 7eb84295087a0d531e8694abf0ecc65c86ec5c34 (diff) | |
download | geiser-chez-04652644b47528d0a3ab00c6475a6752e7a1dbb5.tar.gz geiser-chez-04652644b47528d0a3ab00c6475a6752e7a1dbb5.tar.bz2 |
Miscellaneous little fixes.
Diffstat (limited to 'elisp/geiser-completion.el')
-rw-r--r-- | elisp/geiser-completion.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el index 7e1f642..3605ed5 100644 --- a/elisp/geiser-completion.el +++ b/elisp/geiser-completion.el @@ -150,7 +150,7 @@ terminates a current completion." (delete-duplicates (geiser-eval--send/result `(:eval ((:ge completions) ,prefix - (quote (:scm ,(geiser-syntax--get-partial-sexp)))))) + (quote (:scm ,(or (geiser-syntax--get-partial-sexp) "()")))))) :test 'string=)) (defsubst geiser-completion--module-list () @@ -161,8 +161,7 @@ terminates a current completion." (defun geiser-completion--complete (prefix modules) (let* ((symbols (if modules (geiser-completion--module-list) - (append (geiser-syntax--local-bindings) - (geiser-completion--symbol-list prefix)))) + (geiser-completion--symbol-list prefix))) (completions (all-completions prefix symbols)) (partial (try-completion prefix symbols)) (partial (if (eq partial t) prefix partial))) |