From f352c57972d24464a42ea3e65dc8ac07d8e0517c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 4 Dec 2020 11:33:56 +0100 Subject: [PATCH] Clarify icomplete-show-matches-on-no-input doc string * lisp/icomplete.el (icomplete-show-matches-on-no-input): Clarify the meaning of the variable (bug#19031). --- lisp/icomplete.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 4e546807b7f..9c1470812ab 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -75,7 +75,12 @@ everything preceding the ~/ is discarded so the interactive selection process starts again from the user's $HOME.") (defcustom icomplete-show-matches-on-no-input nil - "When non-nil, show completions when first prompting for input. + "If nil, don't wait for completions before showing the prompt. +Instead, when there's no input, completions may be displayed +asynchronously later, when the completions have been computed. + +If non-nil, always compute the completions first. + This also means that if you traverse the list of completions with commands like `C-.' and just hit RET without typing any characters, the match under point will be chosen instead of the -- 2.39.5