Mercurial > emacs
diff lisp/files.el @ 79815:d89712719d10
(safe-local-eval-forms): Mark
(add-hook 'write-file-hooks 'time-stamp) as safe.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 10 Jan 2008 14:01:13 +0000 |
parents | 73661ddc7ac7 |
children | c293ff04d6e9 5d58981e6690 |
line wrap: on
line diff
--- a/lisp/files.el Thu Jan 10 11:28:33 2008 +0000 +++ b/lisp/files.el Thu Jan 10 14:01:13 2008 +0000 @@ -2418,13 +2418,13 @@ :group 'find-file :type 'alist) -(defcustom safe-local-eval-forms nil +(defcustom safe-local-eval-forms '((add-hook 'write-file-hooks 'time-stamp)) "Expressions that are considered safe in an `eval:' local variable. Add expressions to this list if you want Emacs to evaluate them, when they appear in an `eval' local variable specification, without first asking you for confirmation." :group 'find-file - :version "22.1" + :version "22.2" :type '(repeat sexp)) ;; Risky local variables: