diff options
| author | Spencer Baugh <sbaugh@catern.com> | 2023-10-17 09:09:55 -0400 |
|---|---|---|
| committer | Juri Linkov <juri@linkov.net> | 2023-12-03 19:24:16 +0200 |
| commit | e33f560badac3fd6bd23a6ffc1244afee7dec5f3 (patch) | |
| tree | ac1db1e51c8885d345a52dc48acd1be27785bcb2 /etc/NEWS | |
| parent | 3c093148958d56e0ed8e12a8e00ced1ef052259a (diff) | |
| download | emacs-e33f560badac3fd6bd23a6ffc1244afee7dec5f3.tar.gz | |
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.
Diffstat (limited to 'etc/NEWS')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -637,6 +637,11 @@ new command 'minibuffer-choose-completion-or-exit' (bound by contents instead. The deselection behavior can be controlled with the new user option 'completion-auto-deselect'. +*** New value 'historical' for user option 'completions-sort' +When 'completions-sort' is set to 'historical', completion candidates +will be sorted by their chronological order in the minibuffer history, +with more recent candidates appearing first. + ** Pcomplete --- |
