From: Richard M. Stallman Date: Tue, 18 Apr 2006 21:08:45 +0000 (+0000) Subject: (Imenu): Clarify what special items do. X-Git-Tag: emacs-pretest-22.0.90~3078 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c759f47bfdfd71680ff3b811835d9981bed0f137;p=emacs.git (Imenu): Clarify what special items do. --- diff --git a/lispref/modes.texi b/lispref/modes.texi index fc1953d24d9..b33424a58be 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi @@ -2174,10 +2174,9 @@ An element can also look like this: (@var{menu-title} @var{regexp} @var{index} @var{function} @var{arguments}@dots{}) @end example -Like in the previous case, each match for this element creates an -index item. However, if this index item is selected by the user, it -calls @var{function} with arguments consisting of the item name, the -buffer position, and @var{arguments}. +Each match for this element creates an index item, and when the index +item is selected by the user, it calls @var{function} with arguments +consisting of the item name, the buffer position, and @var{arguments}. For Emacs Lisp mode, @code{imenu-generic-expression} could look like this: