[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/files.el
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/files.el |
Date: |
Sat, 29 Apr 2006 13:59:39 +0000 |
Index: emacs/lisp/files.el
diff -u emacs/lisp/files.el:1.827 emacs/lisp/files.el:1.828
--- emacs/lisp/files.el:1.827 Tue Apr 18 21:20:03 2006
+++ emacs/lisp/files.el Sat Apr 29 13:59:39 2006
@@ -2652,15 +2652,11 @@
* There is a matching entry (SYM . VAL) in the
`safe-local-variable-values' user option.
- * The `safe-local-variable' property of SYM is t.
-
* The `safe-local-variable' property of SYM is a function that
evaluates to a non-nil value with VAL as an argument."
(or (member (cons sym val) safe-local-variable-values)
(let ((safep (get sym 'safe-local-variable)))
- (or (eq safep t)
- (and (functionp safep)
- (funcall safep val))))))
+ (and (functionp safep) (funcall safep val)))))
(defun risky-local-variable-p (sym &optional ignored)
"Non-nil if SYM could be dangerous as a file-local variable.
- [Emacs-diffs] Changes to emacs/lisp/files.el, Andreas Schwab, 2006/04/04
- [Emacs-diffs] Changes to emacs/lisp/files.el, Reiner Steib, 2006/04/06
- [Emacs-diffs] Changes to emacs/lisp/files.el, Reiner Steib, 2006/04/06
- [Emacs-diffs] Changes to emacs/lisp/files.el, Eli Zaretskii, 2006/04/08
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M. Stallman, 2006/04/11
- [Emacs-diffs] Changes to emacs/lisp/files.el, Eli Zaretskii, 2006/04/13
- [Emacs-diffs] Changes to emacs/lisp/files.el, Richard M. Stallman, 2006/04/18
- [Emacs-diffs] Changes to emacs/lisp/files.el,
Stefan Monnier <=