aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2004-08-16 22:40:47 +0000
committerRichard M. Stallman2004-08-16 22:40:47 +0000
commit9a69579e35eded8550448022462c6221cf044d84 (patch)
treebb0ff0f87f2db904e5b641bd84d2fae0b71ed7f2
parentbe3a95100e96913a6dfac355bf6a436e2587308c (diff)
downloademacs-9a69579e35eded8550448022462c6221cf044d84.tar.gz
emacs-9a69579e35eded8550448022462c6221cf044d84.zip
Several doc fixes: don't say variables are buffer-local.
-rw-r--r--lisp/imenu.el9
1 files changed, 2 insertions, 7 deletions
diff --git a/lisp/imenu.el b/lisp/imenu.el
index 238adfe9505..1c82fcacf34 100644
--- a/lisp/imenu.el
+++ b/lisp/imenu.el
@@ -211,8 +211,6 @@ menu. See the info section on Regexps for more information.
211INDEX points to the substring in REGEXP that contains the name (of the 211INDEX points to the substring in REGEXP that contains the name (of the
212function, variable or type) that is to appear in the menu. 212function, variable or type) that is to appear in the menu.
213 213
214The variable is buffer-local.
215
216The variable `imenu-case-fold-search' determines whether or not the 214The variable `imenu-case-fold-search' determines whether or not the
217regexp matches are case sensitive, and `imenu-syntax-alist' can be 215regexp matches are case sensitive, and `imenu-syntax-alist' can be
218used to alter the syntax table for the search. 216used to alter the syntax table for the search.
@@ -240,9 +238,7 @@ A nested sub-alist element looks like (INDEX-NAME SUB-ALIST).
240The function `imenu--subalist-p' tests an element and returns t 238The function `imenu--subalist-p' tests an element and returns t
241if it is a sub-alist. 239if it is a sub-alist.
242 240
243This function is called within a `save-excursion'. 241This function is called within a `save-excursion'.")
244
245The variable is buffer-local.")
246;;;###autoload 242;;;###autoload
247(make-variable-buffer-local 'imenu-create-index-function) 243(make-variable-buffer-local 'imenu-create-index-function)
248 244
@@ -977,8 +973,7 @@ A trivial interface to `imenu-add-to-menubar' suitable for use in a hook."
977(defvar imenu-buffer-menubar nil) 973(defvar imenu-buffer-menubar nil)
978 974
979(defvar imenu-menubar-modified-tick 0 975(defvar imenu-menubar-modified-tick 0
980 "The value of (buffer-modified-tick) as of last call to `imenu-update-menubar'. 976 "The value of (buffer-modified-tick) as of last call to `imenu-update-menubar'.")
981This value becomes local in every buffer when it is set.")
982(make-variable-buffer-local 'imenu-menubar-modified-tick) 977(make-variable-buffer-local 'imenu-menubar-modified-tick)
983 978
984(defun imenu-update-menubar () 979(defun imenu-update-menubar ()