summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-annotate.el
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2020-09-06 08:35:53 +0100
committerJoão Távora <joaotavora@gmail.com>2020-09-06 08:36:39 +0100
commit6fc502c1ef327ab357c971b9bffbbd7cb6a436f1 (patch)
tree965314c564fbdff4f5bbe123fed1707058ae9a0a /lisp/vc/vc-annotate.el
parent669b46e6a39bb5ba5d2ed14baebd585af6130ec9 (diff)
downloademacs-6fc502c1ef327ab357c971b9bffbbd7cb6a436f1.tar.gz
emacs-6fc502c1ef327ab357c971b9bffbbd7cb6a436f1.tar.bz2
emacs-6fc502c1ef327ab357c971b9bffbbd7cb6a436f1.zip
Don't resort Icomplete candidates when default already on top
Fixes: bug#43222 Icomplete mode re-sorts candidates, bubbling the default to top if it's found somewhere down the list. This is done according to two criteria: exact match and prefix match. Before this fix, it didn't take into account the possibility that the exact match for the default would already be on top, and would incorrectly bubble a prefixing completion down the list to the top. This commit fixes that. * lisp/icomplete.el (icomplete--sorted-completions): Rework. Recomment.
Diffstat (limited to 'lisp/vc/vc-annotate.el')
0 files changed, 0 insertions, 0 deletions