From fbafc3bd6455118d229b7fb27f958b7d08e3d323 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Thu, 14 Nov 2002 11:24:02 +0000 Subject: [PATCH] (mode-name): Mark it as risky-local-variable here like the other mode-line elements (moved from bindings.el). --- lisp/files.el | 1 + 1 file changed, 1 insertion(+) 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. -- 2.39.2