Mercurial > emacs
diff lisp/imenu.el @ 89909:68c22ea6027c
Sync to HEAD
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 16 Apr 2004 12:51:06 +0000 |
parents | 375f2633d815 |
children | 4c90ffeb71c5 |
line wrap: on
line diff
--- a/lisp/imenu.el Thu Apr 15 01:08:34 2004 +0000 +++ b/lisp/imenu.el Fri Apr 16 12:51:06 2004 +0000 @@ -751,6 +751,9 @@ PATTERNS is an alist with elements that look like this: (MENU-TITLE REGEXP INDEX). +or like this: + (MENU-TITLE REGEXP INDEX FUNCTION ARGUMENTS...) +with zero or more ARGUMENTS. MENU-TITLE is a string used as the title for the submenu or nil if the entries are not nested. @@ -766,9 +769,13 @@ See `lisp-imenu-generic-expression' for an example of PATTERNS. Returns an index of the current buffer as an alist. The elements in -the alist look like: (INDEX-NAME . INDEX-POSITION). They may also be -nested index lists like (INDEX-NAME . INDEX-ALIST) depending on -PATTERNS." +the alist look like: + (INDEX-NAME . INDEX-POSITION) +or like: + (INDEX-NAME INDEX-POSITION FUNCTION ARGUMENTS...) +They may also be nested index alists like: + (INDEX-NAME . INDEX-ALIST) +depending on PATTERNS." (let ((index-alist (list 'dummy)) prev-pos beg @@ -1055,4 +1062,5 @@ (provide 'imenu) +;;; arch-tag: 98a2f5f5-4b91-4704-b18c-3aacf77d77a7 ;;; imenu.el ends here