aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2004-06-13 21:32:14 +0000
committerLuc Teirlinck2004-06-13 21:32:14 +0000
commit25f6295eb32d5838e561d2046bdf8405d8fc215d (patch)
tree06f6de85312bcb4b5378ef2c78a22a4cc111b876
parent66c6d25eeae930e3f95d955c81bb5f78eeacb906 (diff)
downloademacs-25f6295eb32d5838e561d2046bdf8405d8fc215d.tar.gz
emacs-25f6295eb32d5838e561d2046bdf8405d8fc215d.zip
(before-save-hook): Add `time-stamp' to the options.
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/files.el2
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b810f87a565..52f0cfe4595 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12004-06-13 Luc Teirlinck <teirllm@auburn.edu>
2
3 * files.el (before-save-hook): Add `time-stamp' to the options.
4
5 * time-stamp.el (time-stamp): Recommend adding it to
6 `before-save-hook', rather than `write-file-functions'
7 Make a similar change in `Commentary' section.
8
12004-06-13 Kai Grossjohann <kai.grossjohann@gmx.net> 92004-06-13 Kai Grossjohann <kai.grossjohann@gmx.net>
2 10
3 * diff-mode.el (diff-current-defun): If at start of hunk, use 11 * 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."
3024 3024
3025(defcustom before-save-hook nil 3025(defcustom before-save-hook nil
3026 "Normal hook that is run before a buffer is saved to its file." 3026 "Normal hook that is run before a buffer is saved to its file."
3027 :options '(copyright-update) 3027 :options '(copyright-update time-stamp)
3028 :type 'hook 3028 :type 'hook
3029 :group 'files) 3029 :group 'files)
3030 3030