aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2002-11-14 11:24:02 +0000
committerKim F. Storm2002-11-14 11:24:02 +0000
commitfbafc3bd6455118d229b7fb27f958b7d08e3d323 (patch)
treee2a473049fcc877601658cec8f8d099946695bbe
parent4792bde6cc09d45fa2ea6cd45daf1587a965d1b2 (diff)
downloademacs-fbafc3bd6455118d229b7fb27f958b7d08e3d323.tar.gz
emacs-fbafc3bd6455118d229b7fb27f958b7d08e3d323.zip
(mode-name): Mark it as risky-local-variable here like the
other mode-line elements (moved from bindings.el).
-rw-r--r--lisp/files.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el
index d0c712fdcfd..3ac53dc820f 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2069,6 +2069,7 @@ is specified, returning t if it is specified."
2069(put 'mode-line-buffer-identification 'risky-local-variable t) 2069(put 'mode-line-buffer-identification 'risky-local-variable t)
2070(put 'mode-line-modes 'risky-local-variable t) 2070(put 'mode-line-modes 'risky-local-variable t)
2071(put 'mode-line-position 'risky-local-variable t) 2071(put 'mode-line-position 'risky-local-variable t)
2072(put 'mode-name 'risky-local-variable t)
2072(put 'display-time-string 'risky-local-variable t) 2073(put 'display-time-string 'risky-local-variable t)
2073 2074
2074;; This case is safe because the user gets to check it before it is used. 2075;; This case is safe because the user gets to check it before it is used.