From 25f6295eb32d5838e561d2046bdf8405d8fc215d Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Sun, 13 Jun 2004 21:32:14 +0000 Subject: [PATCH] (before-save-hook): Add `time-stamp' to the options. --- lisp/ChangeLog | 8 ++++++++ lisp/files.el | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b810f87a565..52f0cfe4595 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2004-06-13 Luc Teirlinck + + * 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 * diff-mode.el (diff-current-defun): If at start of hunk, use diff --git a/lisp/files.el b/lisp/files.el index 4ee6da4e544..dc84c79df84 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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) -- 2.39.2