summaryrefslogtreecommitdiff
path: root/doc/emacs/mini.texi
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-04-16 17:20:04 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-04-16 17:20:04 +0200
commita1954288de9dc9f88f8b77a4a7c3685b5ebc96b6 (patch)
treeef8e81f5643599ad6628ee9a8fd7bdca39a4f3c7 /doc/emacs/mini.texi
parentdb1bfcd9091d7765cbc1990d26802ecf013f6772 (diff)
downloademacs-a1954288de9dc9f88f8b77a4a7c3685b5ebc96b6.tar.gz
emacs-a1954288de9dc9f88f8b77a4a7c3685b5ebc96b6.tar.bz2
emacs-a1954288de9dc9f88f8b77a4a7c3685b5ebc96b6.zip
Document completions-sort
* doc/emacs/mini.texi (Completion Options): Document completions-sort.
Diffstat (limited to 'doc/emacs/mini.texi')
-rw-r--r--doc/emacs/mini.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi
index 52856d71379..6012d2f280a 100644
--- a/doc/emacs/mini.texi
+++ b/doc/emacs/mini.texi
@@ -690,6 +690,12 @@ changed by changing the @code{completions-format} user option. If
@code{vertical}, sort the completions vertically in columns instead,
and if @code{one-column}, just use a single column.
+@vindex completions-sort
+ This user option controls how completions are sorted in the
+@samp{*Completions*} buffer. The default is @code{alphabetical}, but
+it can also be a function which will be called with the list of
+completions, and should return the list in the desired order.
+
@vindex completions-max-height
When @code{completions-max-height} is non-@code{nil}, it limits the
size of the completions window. It is specified in lines and include