]> git.eshelyaron.com Git - emacs.git/commit
Improve fix of bug#49888 on no-pattern flex sorting
authorJoão Távora <joaotavora@gmail.com>
Thu, 19 Aug 2021 10:04:37 +0000 (11:04 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 19 Aug 2021 11:16:03 +0000 (12:16 +0100)
commit2c699b87c2e4341be30908368eda7237c34a0152
tree9c901e6256c201f8113f188169e1b471af22b5c4
parentfba64e1697174369b87e3de0c189a0fb0963c49c
Improve fix of bug#49888 on no-pattern flex sorting

This version is functionally equivalent, but doesn't duplicate any
code.  When nothing "flexy" is happening, it works by simply not doing
any metadata adjustments, instead of attempting to synthesize a
function to mimic the non-flex case.

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