From: Kim F. Storm Date: Thu, 14 Nov 2002 11:24:02 +0000 (+0000) Subject: (mode-name): Mark it as risky-local-variable here like the X-Git-Tag: ttn-vms-21-2-B4~12473 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fbafc3bd6455118d229b7fb27f958b7d08e3d323;p=emacs.git (mode-name): Mark it as risky-local-variable here like the other mode-line elements (moved from bindings.el). --- 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." (put 'mode-line-buffer-identification 'risky-local-variable t) (put 'mode-line-modes 'risky-local-variable t) (put 'mode-line-position 'risky-local-variable t) +(put 'mode-name 'risky-local-variable t) (put 'display-time-string 'risky-local-variable t) ;; This case is safe because the user gets to check it before it is used.