751 |
|
|
752 |
PATTERNS is an alist with elements that look like this: |
PATTERNS is an alist with elements that look like this: |
753 |
(MENU-TITLE REGEXP INDEX). |
(MENU-TITLE REGEXP INDEX). |
754 |
|
or like this: |
755 |
|
(MENU-TITLE REGEXP INDEX FUNCTION ARGUMENTS...) |
756 |
|
with zero or more ARGUMENTS. |
757 |
|
|
758 |
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 |
759 |
entries are not nested. |
entries are not nested. |
769 |
See `lisp-imenu-generic-expression' for an example of PATTERNS. |
See `lisp-imenu-generic-expression' for an example of PATTERNS. |
770 |
|
|
771 |
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 |
772 |
the alist look like: (INDEX-NAME . INDEX-POSITION). They may also be |
the alist look like: |
773 |
nested index lists like (INDEX-NAME . INDEX-ALIST) depending on |
(INDEX-NAME . INDEX-POSITION) |
774 |
PATTERNS." |
or like: |
775 |
|
(INDEX-NAME INDEX-POSITION FUNCTION ARGUMENTS...) |
776 |
|
They may also be nested index alists like: |
777 |
|
(INDEX-NAME . INDEX-ALIST) |
778 |
|
depending on PATTERNS." |
779 |
|
|
780 |
(let ((index-alist (list 'dummy)) |
(let ((index-alist (list 'dummy)) |
781 |
prev-pos beg |
prev-pos beg |