Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
61567afa
Commit
61567afa
authored
Oct 02, 2003
by
Lute Kamstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(imenu--generic-function): Docstring fix.
parent
cfdd394e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/imenu.el
lisp/imenu.el
+10
-3
No files found.
lisp/ChangeLog
View file @
61567afa
...
...
@@ -31,6 +31,11 @@
* vc-cvs.el (vc-cvs-parse-entry): Revert last change to allow
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>
* dired.el (dired-mode): Handle dired-directory as a list.
...
...
lisp/imenu.el
View file @
61567afa
...
...
@@ -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:
(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 @@ function, variable or type) that is to appear in the menu.
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment