# HG changeset patch # User Stefan Monnier # Date 1146319179 0 # Node ID dd0bbf49cd0e6943b42bb5a56d20d6134a6f474a # Parent 925aeac78b9e5dea8e6e2cb12dffc9831ddca4f7 (safe-local-variable-p): Remove support for the special value t. diff -r 925aeac78b9e -r dd0bbf49cd0e lisp/files.el --- 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.