]> git.eshelyaron.com Git - emacs.git/commit
Don't show matches with no input for nil icomplete-show-matches-on-no-input
authorJuri Linkov <juri@linkov.net>
Mon, 14 Dec 2020 08:44:04 +0000 (10:44 +0200)
committerJuri Linkov <juri@linkov.net>
Mon, 14 Dec 2020 08:44:04 +0000 (10:44 +0200)
commitdc6e616dfea1a740248b8f73b35851f7b167ec16
tree449b14cefbf4bd43427ca8335075f37391da6f86
parent755a9f2a8b1118e2493af4c16126da8241aae397
Don't show matches with no input for nil icomplete-show-matches-on-no-input

* lisp/icomplete.el (icomplete-show-matches-on-no-input): Fix docstring.
(icomplete--initial-input): New internal variable.
(icomplete-minibuffer-setup): Set buffer-local
icomplete--initial-input to icomplete--field-string.
(icomplete-ret, icomplete-force-complete-and-exit)
(icomplete--sorted-completions, icomplete-exhibit):
Compare icomplete--initial-input with icomplete--field-string
to detect no input.  (Bug#19031)

etc/NEWS: Remove duplicate entry.
etc/NEWS
lisp/icomplete.el