Mercurial > emacs
changeset 70088:c6bf77b3c5b8
(Imenu): Clarify what special items do.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 18 Apr 2006 21:08:45 +0000 |
parents | 9b4ac97c8a7a |
children | 3e2a72a06085 |
files | lispref/modes.texi |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/modes.texi Tue Apr 18 21:08:02 2006 +0000 +++ b/lispref/modes.texi Tue Apr 18 21:08:45 2006 +0000 @@ -2174,10 +2174,9 @@ (@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: