changeset 48302:bd65cb4f3ff9

(mode-name): Mark it as risky-local-variable here like the other mode-line elements (moved from bindings.el).
author Kim F. Storm <storm@cua.dk>
date Thu, 14 Nov 2002 11:24:02 +0000
parents 03aae137b89b
children 31bd5abb774a
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.