]> git.eshelyaron.com Git - emacs.git/commit
Optimize flex completion style a bit more
authorJoão Távora <joaotavora@gmail.com>
Thu, 26 Oct 2023 20:34:46 +0000 (21:34 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 26 Oct 2023 21:13:58 +0000 (22:13 +0100)
commit3eff976898335c75bedf6ce4342d48fa12b05447
tree6e52c2c67d574f1c1a62cac785e52bad18dd35a2
parent1cbbd51f390f91b1db45bbd1dddd3c06f0db6366
Optimize flex completion style a bit more

bug#48841, bug#47711

* lisp/minibuffer.el (completion-pcm--all-completions): Rework,
call completion--flex-score.
(completion--flex-score-1): Rework.
(completion--flex-score-last-md): New helper variable.
(completion--flex-score): New helper variable.
(completion-pcm--hilit-commonality): Rework.
lisp/minibuffer.el