diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-17 00:44:11 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-17 00:44:11 +0100 |
commit | 4814d02ad67edb086b8ccd8ad6a6798fe780b968 (patch) | |
tree | f0d2e45fe5cc4020f0b5d3ea8c9dd063f9bfa243 /elisp/geiser-completion.el | |
parent | f574939e5db2f64eab21493bb70ac6605f76646f (diff) | |
download | geiser-4814d02ad67edb086b8ccd8ad6a6798fe780b968.tar.gz geiser-4814d02ad67edb086b8ccd8ad6a6798fe780b968.tar.bz2 |
Separate commands for evaluation and compilation.
Diffstat (limited to 'elisp/geiser-completion.el')
-rw-r--r-- | elisp/geiser-completion.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el index 22b36a1..fd22044 100644 --- a/elisp/geiser-completion.el +++ b/elisp/geiser-completion.el @@ -145,10 +145,10 @@ terminates a current completion." ;;; Completion functionality: (defsubst geiser-completion--symbol-list (prefix) - (geiser-eval--send/result `(:gs ((:ge completions) ,prefix)))) + (geiser-eval--send/result `(:eval ((:ge completions) ,prefix)))) (defsubst geiser-completion--module-list () - (geiser-eval--send/result '(:gs ((:ge all-modules))))) + (geiser-eval--send/result '(:eval ((:ge all-modules))))) (defvar geiser-completion--symbol-list-func (completion-table-dynamic 'geiser-completion--symbol-list)) @@ -178,7 +178,7 @@ terminates a current completion." (completing-read (or prompt "Module name: ") (geiser-completion--module-list) nil nil - (or default (geiser-syntax--buffer-module)) + (or default (format "%s" (or (geiser-syntax--buffer-module) "("))) (or history geiser-completion--module-history)))) (defun geiser--respecting-message (format &rest format-args) |