Commit fbafc3bd authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(mode-name): Mark it as risky-local-variable here like the

other mode-line elements (moved from bindings.el).
parent 4792bde6
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment