Commit 61567afa authored by Lute Kamstra's avatar Lute Kamstra

(imenu--generic-function): Docstring fix.

parent cfdd394e
...@@ -31,6 +31,11 @@ ...@@ -31,6 +31,11 @@
* vc-cvs.el (vc-cvs-parse-entry): Revert last change to allow * vc-cvs.el (vc-cvs-parse-entry): Revert last change to allow
bootstrap. bootstrap.
2003-10-01 Lute Kamstra <Lute.Kamstra@cwi.nl>
* files.el: Fix typo.
* imenu.el (imenu--generic-function): Docstring fix.
2003-09-30 Richard M. Stallman <rms@gnu.org> 2003-09-30 Richard M. Stallman <rms@gnu.org>
* dired.el (dired-mode): Handle dired-directory as a list. * dired.el (dired-mode): Handle dired-directory as a list.
......
...@@ -751,6 +751,9 @@ for modes which use `imenu--generic-function'. If it is not set, but ...@@ -751,6 +751,9 @@ for modes which use `imenu--generic-function'. If it is not set, but
PATTERNS is an alist with elements that look like this: PATTERNS is an alist with elements that look like this:
(MENU-TITLE REGEXP INDEX). (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 MENU-TITLE is a string used as the title for the submenu or nil if the
entries are not nested. entries are not nested.
...@@ -766,9 +769,13 @@ function, variable or type) that is to appear in the menu. ...@@ -766,9 +769,13 @@ function, variable or type) that is to appear in the menu.
See `lisp-imenu-generic-expression' for an example of PATTERNS. See `lisp-imenu-generic-expression' for an example of PATTERNS.
Returns an index of the current buffer as an alist. The elements in 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 the alist look like:
nested index lists like (INDEX-NAME . INDEX-ALIST) depending on (INDEX-NAME . INDEX-POSITION)
PATTERNS." 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)) (let ((index-alist (list 'dummy))
prev-pos beg prev-pos beg
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment