before-save-hook (Bug#4554).
+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.
: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