changeset 52802:675fbfca3a2a

(Imenu): Mention imenu-create-index-function's default value. Explain submenus better.
author Lute Kamstra <lute@gnu.org>
date Tue, 07 Oct 2003 12:44:12 +0000
parents 5bc2a255c70c
children 8964ad5258a0
files lispref/modes.texi
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/modes.texi	Tue Oct 07 12:11:21 2003 +0000
+++ b/lispref/modes.texi	Tue Oct 07 12:44:12 2003 +0000
@@ -1857,13 +1857,14 @@
 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}.
-
-The default value of @code{imenu-create-index-function} is a function
-that uses @code{imenu-prev-index-position-function} and
+It creates the submenu @var{menu-title} specified by @var{sub-alist}.
+
+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.