]> git.eshelyaron.com Git - emacs.git/commit
Rework last commit to icomplete and minibuffer.el.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 23 Jan 2019 17:30:54 +0000 (12:30 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 23 Jan 2019 17:30:54 +0000 (12:30 -0500)
commit42732e2f8d963f0ce97caf6172d146b0119f5e06
tree777db42bbe0dc3878fe0a9230fcd2aeb750f66b2
parentb3dfcf3e9f217919903f3469323fcd1386a16893
Rework last commit to icomplete and minibuffer.el.

Rather than let minibuffer-force-complete set up cycling and then undoing it,
better tell it directly not to setup cycling.  Also be a bit more careful
to remove the transient map.
Additionally to bug#34077 and bug#34116, this also relates to bug#25644.

* lisp/minibuffer.el (completion--flush-all-sorted-completions):
Also take down the transient cycling map if applicable.
(minibuffer-force-complete): New arg dont-cycle.
Set completion-cycling to the actual function that takes down the
transient map rather than just t.
(minibuffer-force-complete-and-exit):
* lisp/icomplete.el (icomplete-force-complete): Use new dont-cycle arg.
lisp/icomplete.el
lisp/minibuffer.el