Mercurial > emacs
comparison lisp/emacs-lisp/copyright.el @ 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 | 837280979573 |
children | edbcb3c5d4e3 |
comparison
equal
deleted
inserted
replaced
53503:8995f4286209 | 53504:f657faa17ea1 |
---|---|
25 | 25 |
26 ;;; Commentary: | 26 ;;; Commentary: |
27 | 27 |
28 ;; Allows updating the copyright year and above mentioned GPL version manually | 28 ;; Allows updating the copyright year and above mentioned GPL version manually |
29 ;; or when saving a file. | 29 ;; or when saving a file. |
30 ;; Do (add-hook 'write-file-functions 'copyright-update). | 30 ;; Do (add-hook 'before-save-hook 'copyright-update), or use |
31 ;; M-x customize-variable RET before-save-hook RET. | |
31 | 32 |
32 ;;; Code: | 33 ;;; Code: |
33 | 34 |
34 (defgroup copyright nil | 35 (defgroup copyright nil |
35 "Update the copyright notice in current buffer." | 36 "Update the copyright notice in current buffer." |