From 0663d1ba075b1efda73de80b8b0d1e3b05f99868 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sat, 6 Nov 2010 23:18:51 +0100 Subject: Completion: falling back to module name completion for real --- elisp/geiser-completion.el | 7 +++++-- 1 file 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") -- cgit v1.2.3