]> git.eshelyaron.com Git - emacs.git/commit
(completion-all-sorted-completions): Additional alphabetical sorting
authorDaniel Mendler <mail@daniel-mendler.de>
Mon, 19 Apr 2021 20:13:55 +0000 (22:13 +0200)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 19 Apr 2021 22:05:36 +0000 (18:05 -0400)
commit296ef2e99b7cd83ad236230ddc941c7dbc8766e6
treef9a23887145601bf5d9eb69ee6c47710e3260105
parent9216e1818a6f8dd33f98d435fc4927f6dd361d5c
(completion-all-sorted-completions): Additional alphabetical sorting

Even in the cases where it does not make much visible difference,
it brings the benefit of making the result deterministic.

* minibuffer.el (minibuffer--sort-by-length-alpha): New function.
(minibuffer--sort-by-position): New function extracted from
`completion-all-sorted-completions`.
(completion-all-sorted-completions): Use use them.
lisp/minibuffer.el