]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix comment to recommend
authorSimon Josefsson <jas@extundo.com>
Mon, 5 Jan 2004 18:19:11 +0000 (18:19 +0000)
committerSimon Josefsson <jas@extundo.com>
Mon, 5 Jan 2004 18:19:11 +0000 (18:19 +0000)
before-save-hook instead of write-file-functions.

lisp/ChangeLog
lisp/emacs-lisp/copyright.el

index 7276ccc1bf9c21480e7aa90552602eac2412cac3..eab0fce6a58cec4b32eccd2331c9e7d416945727 100644 (file)
@@ -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.
index 4532f7e5b776c00447881f05f63fb2dbbf2497d8..8d748291c00a5150de186b0870e469211af4eed9 100644 (file)
@@ -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: