[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/files.el
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/files.el |
Date: |
Thu, 04 Apr 2002 16:19:34 -0500 |
Index: emacs/lisp/files.el
diff -c emacs/lisp/files.el:1.560 emacs/lisp/files.el:1.561
*** emacs/lisp/files.el:1.560 Tue Apr 2 18:14:26 2002
--- emacs/lisp/files.el Thu Apr 4 16:19:32 2002
***************
*** 1934,1939 ****
--- 1934,1945 ----
(put 'unread-command-events 'risky-local-variable t)
(put 'max-lisp-eval-depth 'risky-local-variable t)
(put 'max-specpdl-size 'risky-local-variable t)
+ (put 'mode-line-format 'risky-local-variable t)
+ (put 'mode-line-modified 'risky-local-variable t)
+ (put 'mode-line-mule-info 'risky-local-variable t)
+ (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)
;; This one is safe because the user gets to check it before it is used.
(put 'compile-command 'safe-local-variable t)
***************
*** 1957,1963 ****
;; Likewise for setting hook variables.
((or (get var 'risky-local-variable)
(and
! (string-match
"-hooks?$\\|-functions?$\\|-forms?$\\|-program$\\|-command$\\|-predicate$\\|font-lock-keywords$\\|font-lock-keywords-[0-9]+$\\|font-lock-syntactic-keywords$\\|-frame-alist$\\|-mode-alist$\\|-map$\\|-map-alist$\\|^mode-line"
(symbol-name var))
(not (get var 'safe-local-variable))))
;; Permit evalling a put of a harmless property.
--- 1963,1969 ----
;; Likewise for setting hook variables.
((or (get var 'risky-local-variable)
(and
! (string-match
"-hooks?$\\|-functions?$\\|-forms?$\\|-program$\\|-command$\\|-predicate$\\|font-lock-keywords$\\|font-lock-keywords-[0-9]+$\\|font-lock-syntactic-keywords$\\|-frame-alist$\\|-mode-alist$\\|-map$\\|-map-alist$"
(symbol-name var))
(not (get var 'safe-local-variable))))
;; Permit evalling a put of a harmless property.
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M. Stallman, 2002/04/02
- [Emacs-diffs] Changes to emacs/lisp/files.el,
Richard M. Stallman <=
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M. Stallman, 2002/04/06
- [Emacs-diffs] Changes to emacs/lisp/files.el, Pavel JanÃk, 2002/04/08
- [Emacs-diffs] Changes to emacs/lisp/files.el, Andreas Schwab, 2002/04/11
- [Emacs-diffs] Changes to emacs/lisp/files.el, Eli Zaretskii, 2002/04/12
- [Emacs-diffs] Changes to emacs/lisp/files.el, Stefan Monnier, 2002/04/19
- [Emacs-diffs] Changes to emacs/lisp/files.el, Glenn Morris, 2002/04/20
- [Emacs-diffs] Changes to emacs/lisp/files.el, Glenn Morris, 2002/04/21
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M. Stallman, 2002/04/22
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M. Stallman, 2002/04/28
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M. Stallman, 2002/04/28