diff options
Diffstat (limited to 'lisp/imenu.el')
-rw-r--r-- | lisp/imenu.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/imenu.el b/lisp/imenu.el index 7d4363993de..c0103dbc4c2 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el @@ -200,9 +200,9 @@ string (which specifies the title of a submenu into which the matches are put). REGEXP is a regular expression matching a definition construct which is to be displayed in the menu. REGEXP may also be a -function, called without arguments. It is expected to search -backwards. It must return true and set `match-data' if it finds -another element. +function of no arguments. If REGEXP is a function, it is +expected to search backwards, return non-nil if it finds a +definition construct, and set `match-data' for that construct. INDEX is an integer specifying which subexpression of REGEXP matches the definition's name; this subexpression is displayed as the menu item. |