1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

* lisp/imenu.el (imenu-flatten): More limitations in docstring (bug#73117)

This commit is contained in:
Juri Linkov 2024-09-25 20:14:12 +03:00
parent 794bb2a2e3
commit 759b18a33c

View File

@ -158,10 +158,18 @@ If the value is `annotation', annotate each completion candidate
with a suffix that is the section name to which it belongs. with a suffix that is the section name to which it belongs.
If the value is `group', split completion candidates into groups If the value is `group', split completion candidates into groups
according to the sections. according to the sections.
Any other value is treated as `prefix'.
Since the values `annotation' and `group' rely on text properties, Since the values `annotation' and `group' rely on text properties,
you can use them only by selecting candidates from the completions you can use them only by selecting candidates from the completions
buffer, not by typing in the minibuffer. buffer, not by typing in the minibuffer. This also means that
Any other value is treated as `prefix'. if you use `minibuffer-next-completion' (`M-<down>') to select
a completion while point stays in the minibuffer, you need
to customize `minibuffer-completion-auto-choose' to nil that
doesn't insert completion candidates to the minibuffer.
Also note that for using the value `group' you need to customize
`completions-group' to the value t, and `completions-format'
to the value `vertical'.
The value of `imenu-level-separator', a string, is used to separate The value of `imenu-level-separator', a string, is used to separate
names from different flattened levels, such as section names, from the names from different flattened levels, such as section names, from the