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 | 11a64e7405ade65d48c28c578dfb18d15f9499d1 (patch) | |
tree | fcdb4501e9654140a2962592ca23250b4cf371bf /elisp/geiser-completion.el | |
parent | 93b51a8d4613364e04f52f78914c0f635b681f9f (diff) | |
download | geiser-11a64e7405ade65d48c28c578dfb18d15f9499d1.tar.gz geiser-11a64e7405ade65d48c28c578dfb18d15f9499d1.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) |