New command icomplete-force-complete-and-exit
commit08033db08bc2bc75221b0dde97257c987d4efa00
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 19 May 2015 12:52:27 +0000 (19 15:52 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 19 May 2015 12:53:32 +0000 (19 15:53 +0300)
treee476efa54d991602dd92574b57f1a997418ab54e
parente0fec8d3cad6efbcc39c5c9d1d53cef40f27a250
New command icomplete-force-complete-and-exit

* lisp/icomplete.el (icomplete-force-complete-and-exit):
New command
(http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
(http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
(icomplete-minibuffer-map): Bind C-j to it.
(icomplete-forward-completions, icomplete-backward-completions):
Mention the new command in the docstring.

* lisp/minibuffer.el (minibuffer-force-complete-and-exit): Revert
the previous fix for bug#17545.
lisp/icomplete.el
lisp/minibuffer.el