diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-28 17:16:20 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-28 17:16:20 +0100 |
commit | 034b3070c61888a0e88edd33506c58fdae9b2115 (patch) | |
tree | d44f44462d4bde5ef322398972bf48e4dc0d05c4 /elisp/geiser-completion.el | |
parent | 77253da86ac2d005a0802426c7ebe08bf8dca9ce (diff) | |
download | geiser-guile-034b3070c61888a0e88edd33506c58fdae9b2115.tar.gz geiser-guile-034b3070c61888a0e88edd33506c58fdae9b2115.tar.bz2 |
Refactoring: local bindings discovery moved to schemeland.
Diffstat (limited to 'elisp/geiser-completion.el')
-rw-r--r-- | elisp/geiser-completion.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el index 7b5d7d7..7e1f642 100644 --- a/elisp/geiser-completion.el +++ b/elisp/geiser-completion.el @@ -29,6 +29,8 @@ (require 'geiser-syntax) (require 'geiser-base) +(eval-when-compile (require 'cl)) + ;;; Completions window handling, heavily inspired in slime's: @@ -145,7 +147,11 @@ terminates a current completion." ;;; Completion functionality: (defsubst geiser-completion--symbol-list (prefix) - (geiser-eval--send/result `(:eval ((:ge completions) ,prefix)))) + (delete-duplicates + (geiser-eval--send/result + `(:eval ((:ge completions) ,prefix + (quote (:scm ,(geiser-syntax--get-partial-sexp)))))) + :test 'string=)) (defsubst geiser-completion--module-list () (geiser-eval--send/result '(:eval ((:ge all-modules))))) |