1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00

(before-save-hook): Add `time-stamp' to the options.

This commit is contained in:
Luc Teirlinck 2004-06-13 21:32:14 +00:00
parent 66c6d25eea
commit 25f6295eb3
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2004-06-13 Luc Teirlinck <teirllm@auburn.edu>
* files.el (before-save-hook): Add `time-stamp' to the options.
* time-stamp.el (time-stamp): Recommend adding it to
`before-save-hook', rather than `write-file-functions'
Make a similar change in `Commentary' section.
2004-06-13 Kai Grossjohann <kai.grossjohann@gmx.net>
* diff-mode.el (diff-current-defun): If at start of hunk, use

View File

@ -3024,7 +3024,7 @@ the last real save, but optional arg FORCE non-nil means delete anyway."
(defcustom before-save-hook nil
"Normal hook that is run before a buffer is saved to its file."
:options '(copyright-update)
:options '(copyright-update time-stamp)
:type 'hook
:group 'files)