diff options
| author | Luc Teirlinck | 2004-06-13 21:32:14 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2004-06-13 21:32:14 +0000 |
| commit | 25f6295eb32d5838e561d2046bdf8405d8fc215d (patch) | |
| tree | 06f6de85312bcb4b5378ef2c78a22a4cc111b876 | |
| parent | 66c6d25eeae930e3f95d955c81bb5f78eeacb906 (diff) | |
| download | emacs-25f6295eb32d5838e561d2046bdf8405d8fc215d.tar.gz emacs-25f6295eb32d5838e561d2046bdf8405d8fc215d.zip | |
(before-save-hook): Add `time-stamp' to the options.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/files.el | 2 |
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 @@ | |||
| 1 | 2004-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 | |||
| 1 | 2004-06-13 Kai Grossjohann <kai.grossjohann@gmx.net> | 9 | 2004-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 | ||