diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-06 23:18:51 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-06 23:18:51 +0100 |
commit | bf929cd8408277dab16d7fa1a2bc9fd5ba8559e2 (patch) | |
tree | cc35e4d02a5a7a0ae9246912e0141fdc94e43aff | |
parent | 4146821a9d3256ae33ce035269bc0358c4e51d80 (diff) | |
download | geiser-chez-bf929cd8408277dab16d7fa1a2bc9fd5ba8559e2.tar.gz geiser-chez-bf929cd8408277dab16d7fa1a2bc9fd5ba8559e2.tar.bz2 |
Completion: falling back to module name completion for real
-rw-r--r-- | elisp/geiser-completion.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el index d346190..46413cf 100644 --- a/elisp/geiser-completion.el +++ b/elisp/geiser-completion.el @@ -234,8 +234,11 @@ With prefix, complete module name." (completions (car result)) (partial (cdr result))) (cond ((null completions) - (geiser--respecting-message "Can't find completion for %S" prefix) - (geiser-completion--restore-window-cfg)) + (if (not arg) + (geiser-completion--complete-symbol t) + (geiser--respecting-message "Can't find completion for %S" + prefix) + (geiser-completion--restore-window-cfg))) (t (insert-and-inherit (substring partial (length prefix))) (cond ((= (length completions) 1) (geiser--respecting-message "Sole completion") |