mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-04 11:40:22 +00:00
* lisp/files.el (safe-local-eval-forms): Fix before-save-hook entry to be
buffer-local; add delete-trailing-whitespace. Fixes: debbugs:12259
This commit is contained in:
parent
ffe6eaf17d
commit
db148c21a9
@ -1,3 +1,8 @@
|
||||
2012-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* files.el (safe-local-eval-forms): Fix before-save-hook entry to be
|
||||
buffer-local; add delete-trailing-whitespace (bug#12259).
|
||||
|
||||
2012-08-22 Jeremy Moore <jmoore@ieee.org> (tiny change)
|
||||
|
||||
* progmodes/hideif.el (hif-compress-define-list):
|
||||
|
@ -2842,7 +2842,8 @@ symbol and VAL is a value that is considered safe."
|
||||
;; This should be here at least as long as Emacs supports write-file-hooks.
|
||||
'((add-hook 'write-file-hooks 'time-stamp)
|
||||
(add-hook 'write-file-functions 'time-stamp)
|
||||
(add-hook 'before-save-hook 'time-stamp))
|
||||
(add-hook 'before-save-hook 'time-stamp nil t)
|
||||
(add-hook 'before-save-hook 'delete-trailing-whitespace nil t))
|
||||
"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
|
||||
|
Loading…
Reference in New Issue
Block a user