From: Luc Teirlinck Date: Sun, 13 Jun 2004 21:32:14 +0000 (+0000) Subject: (before-save-hook): Add `time-stamp' to the options. X-Git-Tag: ttn-vms-21-2-B4~5792 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=25f6295eb32d5838e561d2046bdf8405d8fc215d;p=emacs.git (before-save-hook): Add `time-stamp' to the options. --- 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)