1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

Fix comment to recommend

before-save-hook instead of write-file-functions.
This commit is contained in:
Simon Josefsson 2004-01-05 18:19:11 +00:00
parent 3c3b81d190
commit bcbc6fd3d0
2 changed files with 5 additions and 1 deletions

View 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.

View 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: