1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00

(Imenu): Mention imenu-create-index-function's default value.

Explain submenus better.
This commit is contained in:
Lute Kamstra 2003-10-07 12:44:48 +00:00
parent c22c5da6e0
commit f008b925a9
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2003-10-07 Juri Linkov <juri@jurta.org>
* modes.texi (Imenu): Mention imenu-create-index-function's
default value. Explain submenus better.
2003-10-07 Lute Kamstra <lute@gnu.org>
* modes.texi (Faces for Font Lock): Fix typo.

View File

@ -1857,13 +1857,14 @@ Selecting a special element performs:
A nested sub-alist element looks like this:
@example
(@var{index-name} @var{sub-alist})
(@var{menu-title} @var{sub-alist})
@end example
It creates a submenu specified by @var{sub-alist}.
It creates the submenu @var{menu-title} specified by @var{sub-alist}.
The default value of @code{imenu-create-index-function} is a function
that uses @code{imenu-prev-index-position-function} and
The default value of @code{imenu-create-index-function} is
@code{imenu-default-create-index-function}. This function uses
@code{imenu-prev-index-position-function} and
@code{imenu-extract-index-name-function} to produce the index alist.
However, if either of these two variables is @code{nil}, the default
function uses @code{imenu-generic-expression} instead.