From bcbc6fd3d04dbbbba44e98b1a434e6e892059405 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Mon, 5 Jan 2004 18:19:11 +0000 Subject: Fix comment to recommend before-save-hook instead of write-file-functions. --- lisp/emacs-lisp/copyright.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/emacs-lisp') diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index 4532f7e5b77..8d748291c00 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el @@ -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: -- cgit v1.2.3