]> git.eshelyaron.com Git - emacs.git/commitdiff
(mode-name): Mark it as risky-local-variable here like the
authorKim F. Storm <storm@cua.dk>
Thu, 14 Nov 2002 11:24:02 +0000 (11:24 +0000)
committerKim F. Storm <storm@cua.dk>
Thu, 14 Nov 2002 11:24:02 +0000 (11:24 +0000)
other mode-line elements (moved from bindings.el).

lisp/files.el

index d0c712fdcfd84a5389694dcfc0c1017518331d07..3ac53dc820fc5e9770d65e725e1f2f79f965e877 100644 (file)
@@ -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.