aboutsummaryrefslogtreecommitdiffstats
path: root/make-dist
diff options
context:
space:
mode:
authorJoão Távora2019-02-12 21:55:34 +0000
committerJoão Távora2019-02-12 21:55:34 +0000
commit0daf79c64acce7dc0371e611e090184a90648ec1 (patch)
tree1f195242cbc143332065afb41a27feb39ea3abb9 /make-dist
parent8b44a4bffcba71da16bf909aae6f550a5374bee1 (diff)
downloademacs-scratch/new-flex-completion-style.tar.gz
emacs-scratch/new-flex-completion-style.zip
Score flex-style completions according to match tightnessscratch/new-flex-completion-style
The new completion style needs to score completion matches so that we can use it later on when sorting the completions. This is because, in the flex style, "foo" can now match "foobar", "frodo" and "barfromsober" but we probably want "foobar" to appear at the top of the completion list. This change makes the new flex completion style add sort-order hints under the completion string's `completion-style-sort-order' property. * lisp/minibuffer.el (completion-pcm--hilit-commonality): Propertize completion with 'completion-pcm-commonality-score. (completion-flx-all-completions): Propertize completion with completion-style-sort-order and completion-style-annotation.
Diffstat (limited to 'make-dist')
0 files changed, 0 insertions, 0 deletions