]> git.eshelyaron.com Git - emacs.git/commit
Add historical option to completions-sort
authorSpencer Baugh <sbaugh@catern.com>
Tue, 17 Oct 2023 13:09:55 +0000 (09:09 -0400)
committerJuri Linkov <juri@linkov.net>
Sun, 3 Dec 2023 17:24:16 +0000 (19:24 +0200)
commite33f560badac3fd6bd23a6ffc1244afee7dec5f3
treeac1db1e51c8885d345a52dc48acd1be27785bcb2
parent3c093148958d56e0ed8e12a8e00ced1ef052259a
Add historical option to completions-sort

Support sorting candidates in *Completions* by the order they show up
in the minibuffer history.

Also add minibuffer-sort-alphabetically and
minibuffer-sort-by-history, which are usable for both completions-sort
and display-sort-function.

* lisp/minibuffer.el (completions-sort): Document 'historical option.
(minibuffer-completion-help): Support 'historical option.
(minibuffer-sort-alphabetically)
(minibuffer-completion-base, minibuffer-sort-by-history): Add.
* etc/NEWS: Announce it.
etc/NEWS
lisp/minibuffer.el