/[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.97 by rms, Sat May 29 14:35:20 2004 UTC revision 1.98 by monnier, Mon Jul 26 21:16:07 2004 UTC
# Line 1  Line 1 
1  ;;; imenu.el --- framework for mode-specific buffer indexes  ;;; imenu.el --- framework for mode-specific buffer indexes
2    
3  ;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 2003 Free Software Foundation, Inc.  ;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 2003, 2004
4    ;;           Free Software Foundation, Inc.
5    
6  ;; Author: Ake Stenhoff <etxaksf@aom.ericsson.se>  ;; Author: Ake Stenhoff <etxaksf@aom.ericsson.se>
7  ;;         Lars Lindberg <lli@sypro.cap.se>  ;;         Lars Lindberg <lli@sypro.cap.se>
# Line 255  to a function that will find the next in Line 256  to a function that will find the next in
256  file.  file.
257    
258  The function should leave point at the place to be connected to the  The function should leave point at the place to be connected to the
259  index and it should return nil when it doesn't find another index.  index and it should return nil when it doesn't find another index.")
   
 This variable is local in all buffers.")  
260  ;;;###autoload  ;;;###autoload
261  (make-variable-buffer-local 'imenu-prev-index-position-function)  (make-variable-buffer-local 'imenu-prev-index-position-function)
262    
# Line 267  This variable is local in all buffers.") Line 266  This variable is local in all buffers.")
266    
267  This function is called after `imenu-prev-index-position-function'  This function is called after `imenu-prev-index-position-function'
268  finds a position for an index item, with point at that position.  finds a position for an index item, with point at that position.
269  It should return the name for that index item.  It should return the name for that index item.")
   
 This variable is local in all buffers.")  
270  ;;;###autoload  ;;;###autoload
271  (make-variable-buffer-local 'imenu-extract-index-name-function)  (make-variable-buffer-local 'imenu-extract-index-name-function)
272    
# Line 283  non-nil if they match. Line 280  non-nil if they match.
280  If nil, comparison is done with `string='.  If nil, comparison is done with `string='.
281  Set this to some other function for more advanced comparisons,  Set this to some other function for more advanced comparisons,
282  such as \"begins with\" or \"name matches and number of  such as \"begins with\" or \"name matches and number of
283  arguments match\".  arguments match\".")
   
 This variable is local in all buffers.")  
284  ;;;###autoload  ;;;###autoload
285  (make-variable-buffer-local 'imenu-name-lookup-function)  (make-variable-buffer-local 'imenu-name-lookup-function)
286    
# Line 453  The function in this variable is called Line 448  The function in this variable is called
448    "The buffer index computed for this buffer in Imenu.    "The buffer index computed for this buffer in Imenu.
449  Simple elements in the alist look like (INDEX-NAME . INDEX-POSITION).  Simple elements in the alist look like (INDEX-NAME . INDEX-POSITION).
450  Special elements look like (INDEX-NAME INDEX-POSITION FUNCTION ARGUMENTS...).  Special elements look like (INDEX-NAME INDEX-POSITION FUNCTION ARGUMENTS...).
451  A nested sub-alist element looks like (INDEX-NAME SUB-ALIST).  A nested sub-alist element looks like (INDEX-NAME SUB-ALIST).")
   
 This variable is local in all buffers, once set.")  
452    
453  (make-variable-buffer-local 'imenu--index-alist)  (make-variable-buffer-local 'imenu--index-alist)
454    

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.98

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