[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 9a78b235e9: Improve indexing in "Programmed Completion"
From: |
Eli Zaretskii |
Subject: |
emacs-28 9a78b235e9: Improve indexing in "Programmed Completion" |
Date: |
Sun, 24 Apr 2022 15:38:17 -0400 (EDT) |
branch: emacs-28
commit 9a78b235e99322f93c66f067fc2178370b31a2ad
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Improve indexing in "Programmed Completion"
* doc/lispref/minibuf.texi (Programmed Completion): Improve
indexing. (Bug#55095)
---
doc/lispref/minibuf.texi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi
index f05f087ba7..bc2f14883c 100644
--- a/doc/lispref/minibuf.texi
+++ b/doc/lispref/minibuf.texi
@@ -1936,6 +1936,7 @@ completion function is trying to complete. If the symbol
matches one
of the keys in @code{completion-category-overrides}, the usual
completion behavior is overridden. @xref{Completion Variables}.
+@cindex @code{annotation-function}, in completion
@item annotation-function
The value should be a function for @dfn{annotating} completions. The
function should take one argument, @var{string}, which is a possible
@@ -1945,6 +1946,7 @@ Unless this function puts own face on the annotation
suffix string,
the @code{completions-annotations} face is added by default to
that string.
+@cindex @code{affixation-function}, in completion
@item affixation-function
The value should be a function for adding prefixes and suffixes to
completions. The function should take one argument,
@@ -1955,6 +1957,7 @@ the completion string in the @file{*Completions*} buffer,
and
a suffix displayed after the completion string. This function
takes priority over @code{annotation-function}.
+@cindex @code{group-function}, in completion
@item group-function
The value should be a function for grouping the completion candidates.
The function must take two arguments, @var{completion}, which is a
@@ -1965,12 +1968,14 @@ can also be @code{nil}. Otherwise the function must
return the
transformed candidate. The transformation can for example remove a
redundant prefix, which is displayed in the group title.
+@cindex @code{display-sort-function}, in completion
@item display-sort-function
The value should be a function for sorting completions. The function
should take one argument, a list of completion strings, and return a
sorted list of completion strings. It is allowed to alter the input
list destructively.
+@cindex @code{cycle-sort-function}, in completion
@item cycle-sort-function
The value should be a function for sorting completions, when
@code{completion-cycle-threshold} is non-@code{nil} and the user is
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 9a78b235e9: Improve indexing in "Programmed Completion",
Eli Zaretskii <=