/[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.98 by monnier, Mon Jul 26 21:16:07 2004 UTC revision 1.99 by rms, Mon Aug 16 22:40:47 2004 UTC
# Line 211  menu.  See the info section on Regexps f Line 211  menu.  See the info section on Regexps f
211  INDEX points to the substring in REGEXP that contains the name (of the  INDEX points to the substring in REGEXP that contains the name (of the
212  function, variable or type) that is to appear in the menu.  function, variable or type) that is to appear in the menu.
213    
 The variable is buffer-local.  
   
214  The variable `imenu-case-fold-search' determines whether or not the  The variable `imenu-case-fold-search' determines whether or not the
215  regexp matches are case sensitive, and `imenu-syntax-alist' can be  regexp matches are case sensitive, and `imenu-syntax-alist' can be
216  used to alter the syntax table for the search.  used to alter the syntax table for the search.
# Line 240  A nested sub-alist element looks like (I Line 238  A nested sub-alist element looks like (I
238  The function `imenu--subalist-p' tests an element and returns t  The function `imenu--subalist-p' tests an element and returns t
239  if it is a sub-alist.  if it is a sub-alist.
240    
241  This function is called within a `save-excursion'.  This function is called within a `save-excursion'.")
   
 The variable is buffer-local.")  
242  ;;;###autoload  ;;;###autoload
243  (make-variable-buffer-local 'imenu-create-index-function)  (make-variable-buffer-local 'imenu-create-index-function)
244    
# Line 977  A trivial interface to `imenu-add-to-men Line 973  A trivial interface to `imenu-add-to-men
973  (defvar imenu-buffer-menubar nil)  (defvar imenu-buffer-menubar nil)
974    
975  (defvar imenu-menubar-modified-tick 0  (defvar imenu-menubar-modified-tick 0
976    "The value of (buffer-modified-tick) as of last call to `imenu-update-menubar'.    "The value of (buffer-modified-tick) as of last call to `imenu-update-menubar'.")
 This value becomes local in every buffer when it is set.")  
977  (make-variable-buffer-local 'imenu-menubar-modified-tick)  (make-variable-buffer-local 'imenu-menubar-modified-tick)
978    
979  (defun imenu-update-menubar ()  (defun imenu-update-menubar ()

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

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