]> git.eshelyaron.com Git - emacs.git/commit
Add a new 'flex' completion style
authorJoão Távora <joaotavora@gmail.com>
Tue, 12 Feb 2019 21:48:24 +0000 (21:48 +0000)
committerJoão Távora <joaotavora@gmail.com>
Tue, 12 Feb 2019 21:48:24 +0000 (21:48 +0000)
commit8b44a4bffcba71da16bf909aae6f550a5374bee1
tree8f8b73adf927c3dc21bc366d36f0e1fd6cf1a900
parent5abaf16ab49b86ca5add981c2ddcaea6db0c8a08
Add a new 'flex' completion style

* lisp/minibuffer.el (completion-styles-alist): Add flex.
(completion-substring--all-completions): Accept
transform-pattern-fn arg.
(completion-flex-all-completions, completion-flex-try-completion)
(completion-flex--make-flex-pattern): New functions.
lisp/minibuffer.el