]> 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>
Wed, 13 Feb 2019 21:21:51 +0000 (21:21 +0000)
commite4896fcb1189f6739f228d441b6c50118536e3d8
tree798d5624b805063b354da57bd1fb3623294e0ad6
parent10527fca66e39d7067986904161fa33741abcd26
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