]> git.eshelyaron.com Git - emacs.git/commit
minibuffer-force-complete-and-exit: Allow input with no matches
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 4 Mar 2020 23:52:58 +0000 (01:52 +0200)
committerJoão Távora <joaotavora@gmail.com>
Sat, 7 Mar 2020 13:50:42 +0000 (13:50 +0000)
commit335a9bd2157300266614a9ef5e5f106a10b3218a
tree17886cc63566d4ffa749cd3349dbef526dd4d46a
parent34132d4bf663b1acc61c04e2b962339f75912f2d
minibuffer-force-complete-and-exit: Allow input with no matches

* lisp/minibuffer.el (minibuffer--require-match): New variable.
(completing-read-default): Bind it to the REQUIRE-MATCH value.
(minibuffer-force-complete-and-exit): Consult it to allow input
with no matches when a match is not required (bug#38992).

* lisp/icomplete.el (icomplete-exhibit): Use it to render the
correct parens around matches.
lisp/icomplete.el
lisp/minibuffer.el