]> git.eshelyaron.com Git - emacs.git/commit
Move flex style's minibuffer-default-aware sorting to lisp/icomplete.el
authorJoão Távora <joaotavora@gmail.com>
Tue, 24 Dec 2019 10:40:39 +0000 (10:40 +0000)
committerJoão Távora <joaotavora@gmail.com>
Tue, 31 Dec 2019 13:31:45 +0000 (13:31 +0000)
commitb1c3ed9f328fccc04b80d2991a4f8d06ead186fb
tree535f601ba0711a2852fd1ad67aa14b2af7c4c1f2
parente3276f36c08691d6789b8eb49923735dc9565642
Move flex style's minibuffer-default-aware sorting to lisp/icomplete.el

This moves the logic from the series of commits starting in the commit named:

  Improve sorting of flex completion style with non-nil minibuffer-default

to lisp/icomplete.el, so far the only confirmed beneficiary of that
functionality.

* lisp/icomplete.el (icomplete--sorted-completions): Consider
minibuffer-default here.

* lisp/minibuffer.el (completion--flex-adjust-metadata): Simplify.

(cherry picked from commit 0d2a711dc9a65dc8eb6e995369e70cddbcd7d9a4)
lisp/icomplete.el
lisp/minibuffer.el