diff options
| author | Lute Kamstra | 2003-10-02 09:45:16 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2003-10-02 09:45:16 +0000 |
| commit | 61567afa43ca1862e15cdbab37f2c555b198a984 (patch) | |
| tree | 2eb2ce013a869d81b0c15fbdf06c05e833631b3a | |
| parent | cfdd394e98bc7870f7b4cc8224e9f719c297dc2e (diff) | |
| download | emacs-61567afa43ca1862e15cdbab37f2c555b198a984.tar.gz emacs-61567afa43ca1862e15cdbab37f2c555b198a984.zip | |
(imenu--generic-function): Docstring fix.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/imenu.el | 13 |
2 files changed, 15 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8ef4f9b8090..139b9f9131e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -31,6 +31,11 @@ | |||
| 31 | * vc-cvs.el (vc-cvs-parse-entry): Revert last change to allow | 31 | * vc-cvs.el (vc-cvs-parse-entry): Revert last change to allow |
| 32 | bootstrap. | 32 | bootstrap. |
| 33 | 33 | ||
| 34 | 2003-10-01 Lute Kamstra <Lute.Kamstra@cwi.nl> | ||
| 35 | |||
| 36 | * files.el: Fix typo. | ||
| 37 | * imenu.el (imenu--generic-function): Docstring fix. | ||
| 38 | |||
| 34 | 2003-09-30 Richard M. Stallman <rms@gnu.org> | 39 | 2003-09-30 Richard M. Stallman <rms@gnu.org> |
| 35 | 40 | ||
| 36 | * dired.el (dired-mode): Handle dired-directory as a list. | 41 | * dired.el (dired-mode): Handle dired-directory as a list. |
diff --git a/lisp/imenu.el b/lisp/imenu.el index 63da70f0923..42f50fba3a4 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el | |||
| @@ -751,6 +751,9 @@ for modes which use `imenu--generic-function'. If it is not set, but | |||
| 751 | 751 | ||
| 752 | PATTERNS is an alist with elements that look like this: | 752 | PATTERNS is an alist with elements that look like this: |
| 753 | (MENU-TITLE REGEXP INDEX). | 753 | (MENU-TITLE REGEXP INDEX). |
| 754 | or like this: | ||
| 755 | (MENU-TITLE REGEXP INDEX FUNCTION ARGUMENTS...) | ||
| 756 | with zero or more ARGUMENTS. | ||
| 754 | 757 | ||
| 755 | MENU-TITLE is a string used as the title for the submenu or nil if the | 758 | MENU-TITLE is a string used as the title for the submenu or nil if the |
| 756 | entries are not nested. | 759 | entries are not nested. |
| @@ -766,9 +769,13 @@ function, variable or type) that is to appear in the menu. | |||
| 766 | See `lisp-imenu-generic-expression' for an example of PATTERNS. | 769 | See `lisp-imenu-generic-expression' for an example of PATTERNS. |
| 767 | 770 | ||
| 768 | Returns an index of the current buffer as an alist. The elements in | 771 | Returns an index of the current buffer as an alist. The elements in |
| 769 | the alist look like: (INDEX-NAME . INDEX-POSITION). They may also be | 772 | the alist look like: |
| 770 | nested index lists like (INDEX-NAME . INDEX-ALIST) depending on | 773 | (INDEX-NAME . INDEX-POSITION) |
| 771 | PATTERNS." | 774 | 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." | ||
| 772 | 779 | ||
| 773 | (let ((index-alist (list 'dummy)) | 780 | (let ((index-alist (list 'dummy)) |
| 774 | prev-pos beg | 781 | prev-pos beg |