/[emacs]/emacs/lisp/imenu.el
ViewVC logotype

Diff of /emacs/lisp/imenu.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.95 by miles, Mon Sep 1 15:45:13 2003 UTC revision 1.96 by lute, Thu Oct 2 09:44:50 2003 UTC
# Line 751  for modes which use `imenu--generic-func Line 751  for modes which use `imenu--generic-func
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.
# Line 766  function, variable or type) that is to a Line 769  function, variable or type) that is to a
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

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.96

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26