Commit 182b3bec authored by Chong Yidong's avatar Chong Yidong
Browse files

* files.el (safe-local-eval-forms): Allow time-stamp in

before-save-hook (Bug#4554).
parent 13989ab1
2009-09-25 Juri Linkov <juri@jurta.org>
* files.el (safe-local-eval-forms): Allow time-stamp in
before-save-hook (Bug#4554).
2009-09-25 Drew Adams <drew.adams@oracle.com>
* menu-bar.el (list-buffers-directory): Doc fix.
......
......@@ -2687,7 +2687,9 @@ symbol and VAL is a value that is considered safe."
:group 'find-file
:type 'alist)
(defcustom safe-local-eval-forms '((add-hook 'write-file-hooks 'time-stamp))
(defcustom safe-local-eval-forms
'((add-hook 'write-file-functions 'time-stamp)
(add-hook 'before-save-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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment