summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorSimon Josefsson <jas@extundo.com>2004-01-05 18:19:11 +0000
committerSimon Josefsson <jas@extundo.com>2004-01-05 18:19:11 +0000
commitbcbc6fd3d04dbbbba44e98b1a434e6e892059405 (patch)
tree9c77dfde7b330ab2b1fc6673c473cddd163e5d95 /lisp/emacs-lisp
parent3c3b81d190d9c1ada2dbc4926ec9a18e119463b2 (diff)
downloademacs-bcbc6fd3d04dbbbba44e98b1a434e6e892059405.tar.gz
emacs-bcbc6fd3d04dbbbba44e98b1a434e6e892059405.tar.bz2
emacs-bcbc6fd3d04dbbbba44e98b1a434e6e892059405.zip
Fix comment to recommend
before-save-hook instead of write-file-functions.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/copyright.el3
1 files changed, 2 insertions, 1 deletions
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: