diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-14 20:52:27 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-14 20:52:27 +0100 |
commit | 5ee2ae3ccd73f5dfae68db011c581f918eea8751 (patch) | |
tree | c121a321d93bdc852ac99051be4c78b11db92348 /elisp/geiser-completion.el | |
parent | 13d84e514446438f0115585f3a14e36f535e2225 (diff) | |
download | geiser-guile-5ee2ae3ccd73f5dfae68db011c581f918eea8751.tar.gz geiser-guile-5ee2ae3ccd73f5dfae68db011c581f918eea8751.tar.bz2 |
New command to get docstrings (C-cC-d).
Diffstat (limited to 'elisp/geiser-completion.el')
-rw-r--r-- | elisp/geiser-completion.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el index dd0c33c..3a36187 100644 --- a/elisp/geiser-completion.el +++ b/elisp/geiser-completion.el @@ -183,12 +183,14 @@ terminates a current completion." (partial (if (eq partial t) prefix partial))) (cons completions partial))) +(defvar geiser-completion--symbol-history nil) + (defun geiser-completion--read-symbol (prompt &optional default history) (let ((minibuffer-local-completion-map geiser-completion--minibuffer-map)) (completing-read prompt geiser-completion--symbol-list-func nil nil nil - history + (or history geiser-completion--symbol-history) (or default (symbol-at-point))))) (defun geiser--respecting-message (format &rest format-args) |