summaryrefslogtreecommitdiff
path: root/lisp/imenu.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-08-26 03:07:25 +0000
committerGlenn Morris <rgm@gnu.org>2009-08-26 03:07:25 +0000
commit6dc3311d252c4f85ab7ba93dfef6486afa2fbd5b (patch)
treec0aceb708a01fcb3d8ca22b3532027691ec40df8 /lisp/imenu.el
parente49c01791000a9d18cd7813c947c78b1ea1b7cf7 (diff)
downloademacs-6dc3311d252c4f85ab7ba93dfef6486afa2fbd5b.tar.gz
Define risky-local-variable property here rather than in files.el.
Diffstat (limited to 'lisp/imenu.el')
-rw-r--r--lisp/imenu.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/imenu.el b/lisp/imenu.el
index 3873136f693..77035c602d8 100644
--- a/lisp/imenu.el
+++ b/lisp/imenu.el
@@ -198,6 +198,7 @@ For example, see the value of `fortran-imenu-generic-expression' used by
`fortran-mode' with `imenu-syntax-alist' set locally to give the
characters which normally have \"symbol\" syntax \"word\" syntax
during matching.")
+;;;###autoload(put 'imenu-generic-expression 'risky-local-variable t)
;;;###autoload
(make-variable-buffer-local 'imenu-generic-expression)
@@ -444,6 +445,7 @@ if it is a sub-alist.
There is one simple element with negative POSITION; selecting that
element recalculates the buffer's index alist.")
+;;;###autoload(put 'imenu--index-alist 'risky-local-variable t)
(make-variable-buffer-local 'imenu--index-alist)