emacs-diffs
[Top][All Lists]
Advanced

[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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]