summaryrefslogtreecommitdiff
path: root/etc/NEWS
diff options
context:
space:
mode:
authorSpencer Baugh <sbaugh@catern.com>2023-10-17 09:09:55 -0400
committerJuri Linkov <juri@linkov.net>2023-12-03 19:24:16 +0200
commite33f560badac3fd6bd23a6ffc1244afee7dec5f3 (patch)
treeac1db1e51c8885d345a52dc48acd1be27785bcb2 /etc/NEWS
parent3c093148958d56e0ed8e12a8e00ced1ef052259a (diff)
downloademacs-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 3d26f27..29f4e5c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
---