changeset 70271:dd0bbf49cd0e

(safe-local-variable-p): Remove support for the special value t.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 29 Apr 2006 13:59:39 +0000
parents 925aeac78b9e
children 996364ad6475
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Sat Apr 29 13:59:04 2006 +0000
+++ b/lisp/files.el	Sat Apr 29 13:59:39 2006 +0000
@@ -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.