diff options
-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") |