diff options
author | João Távora <joaotavora@gmail.com> | 2019-12-22 22:51:08 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2019-12-22 22:57:16 +0100 |
commit | df3fe4e275205adbf57833552f6899d4810450fe (patch) | |
tree | 5792d0faa8be4c02b964cb63ea989dd48a89352b /test/lisp/emacs-lisp/lisp-mode-tests.el | |
parent | 7b3b27eef1325b41187f2e9cc898644d5eae9ff3 (diff) | |
download | emacs-df3fe4e275205adbf57833552f6899d4810450fe.tar.gz emacs-df3fe4e275205adbf57833552f6899d4810450fe.tar.bz2 emacs-df3fe4e275205adbf57833552f6899d4810450fe.zip |
Fix bug in flex completion style's sorting and simplify
This previous commit targetting this function introduced a bug whereby
the completion table's sorting function wouldn't be called. That is
fixed by this commit, which also simplifies the function further: it
now skips re-sorting the completions completely if there is no
minibuffer input at all (in other words, when flex isn't doing
anything useful).
* lisp/minibuffer.el (completion--flex-adjust-metadata): Simplify.
Diffstat (limited to 'test/lisp/emacs-lisp/lisp-mode-tests.el')
0 files changed, 0 insertions, 0 deletions