diff options
| author | Richard M. Stallman | 2004-08-16 22:40:47 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-08-16 22:40:47 +0000 |
| commit | 9a69579e35eded8550448022462c6221cf044d84 (patch) | |
| tree | bb0ff0f87f2db904e5b641bd84d2fae0b71ed7f2 | |
| parent | be3a95100e96913a6dfac355bf6a436e2587308c (diff) | |
| download | emacs-9a69579e35eded8550448022462c6221cf044d84.tar.gz emacs-9a69579e35eded8550448022462c6221cf044d84.zip | |
Several doc fixes: don't say variables are buffer-local.
| -rw-r--r-- | lisp/imenu.el | 9 |
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. | |||
| 211 | INDEX points to the substring in REGEXP that contains the name (of the | 211 | 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. | 212 | function, variable or type) that is to appear in the menu. |
| 213 | 213 | ||
| 214 | The variable is buffer-local. | ||
| 215 | |||
| 216 | The variable `imenu-case-fold-search' determines whether or not the | 214 | The variable `imenu-case-fold-search' determines whether or not the |
| 217 | regexp matches are case sensitive, and `imenu-syntax-alist' can be | 215 | regexp matches are case sensitive, and `imenu-syntax-alist' can be |
| 218 | used to alter the syntax table for the search. | 216 | used to alter the syntax table for the search. |
| @@ -240,9 +238,7 @@ A nested sub-alist element looks like (INDEX-NAME SUB-ALIST). | |||
| 240 | The function `imenu--subalist-p' tests an element and returns t | 238 | The function `imenu--subalist-p' tests an element and returns t |
| 241 | if it is a sub-alist. | 239 | if it is a sub-alist. |
| 242 | 240 | ||
| 243 | This function is called within a `save-excursion'. | 241 | This function is called within a `save-excursion'.") |
| 244 | |||
| 245 | The 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'.") |
| 981 | This 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 () |