# HG changeset patch # User Simon Josefsson # Date 1073326751 0 # Node ID f657faa17ea190c9f7608d9da8c25378e92f62dd # Parent 8995f42862099de0591c254230b0135b08cdf274 Fix comment to recommend before-save-hook instead of write-file-functions. diff -r 8995f4286209 -r f657faa17ea1 lisp/ChangeLog --- 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 * finder.el (finder-commentary): Call delete-other-windows. diff -r 8995f4286209 -r f657faa17ea1 lisp/emacs-lisp/copyright.el --- 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: