# HG changeset patch # User Kim F. Storm # Date 1037273042 0 # Node ID bd65cb4f3ff9a54987bab34bfc3370a28717f49e # Parent 03aae137b89bb6c4a1fa230e97e073a4778403b3 (mode-name): Mark it as risky-local-variable here like the other mode-line elements (moved from bindings.el). diff -r 03aae137b89b -r bd65cb4f3ff9 lisp/files.el --- a/lisp/files.el Thu Nov 14 08:57:24 2002 +0000 +++ b/lisp/files.el Thu Nov 14 11:24:02 2002 +0000 @@ -2069,6 +2069,7 @@ (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.