1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

(safe-local-eval-forms): Mark

(add-hook 'write-file-hooks 'time-stamp) as safe.
This commit is contained in:
Dan Nicolaescu 2008-01-10 14:01:13 +00:00
parent d1497e8d4d
commit 146b3daf07
2 changed files with 8 additions and 3 deletions

View file

@ -2418,13 +2418,13 @@ symbol and VAL is a value that is considered safe."
: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: