changeset 53504:f657faa17ea1

Fix comment to recommend before-save-hook instead of write-file-functions.
author Simon Josefsson <jas@extundo.com>
date Mon, 05 Jan 2004 18:19:11 +0000
parents 8995f4286209
children 780b9eb8b58e
files lisp/ChangeLog lisp/emacs-lisp/copyright.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Jan 05 18:17:41 2004 +0000
+++ b/lisp/ChangeLog	Mon Jan 05 18:19:11 2004 +0000
@@ -3,6 +3,9 @@
 	* files.el (before-save-hook): Add.
 	(basic-save-buffer): Use before-save-hook.
 
+	* emacs-lisp/copyright.el: Fix comment to recommend
+	before-save-hook instead of write-file-functions.
+
 2004-01-05  Richard M. Stallman  <rms@gnu.org>
 
 	* finder.el (finder-commentary): Call delete-other-windows.
--- a/lisp/emacs-lisp/copyright.el	Mon Jan 05 18:17:41 2004 +0000
+++ b/lisp/emacs-lisp/copyright.el	Mon Jan 05 18:19:11 2004 +0000
@@ -27,7 +27,8 @@
 
 ;; Allows updating the copyright year and above mentioned GPL version manually
 ;; or when saving a file.
-;; Do (add-hook 'write-file-functions 'copyright-update).
+;; Do (add-hook 'before-save-hook 'copyright-update), or use
+;; M-x customize-variable RET before-save-hook RET.
 
 ;;; Code: