maint: write-file-hooks -> before-save-hook
commitdb0b059ae4f489d0c83b785b259eb965a181d0d0
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 7 Mar 2018 08:29:38 +0000 (7 00:29 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 7 Mar 2018 08:30:08 +0000 (7 00:30 -0800)
treed422d2a71cce04a07531026ad83d178ffb651b32
parentb98b09e24686fb05983ddc6156517d398d407957
maint: write-file-hooks -> before-save-hook

write-file-hooks is obsolete since Emacs 22.1 (released June 2007) and
it's time to use the recommended replacement.
Problem reported by Glenn Morris in:
https://lists.gnu.org/r/bug-gnulib/2018-03/msg00008.html
* build-aux/announce-gen, build-aux/bootstrap:
* build-aux/do-release-commit-and-tag, build-aux/gendocs.sh:
* build-aux/git-version-gen, build-aux/gitlog-to-changelog:
* build-aux/gnu-web-doc-update, build-aux/gnupload:
* build-aux/move-if-change, build-aux/prefix-gnulib-mk:
* build-aux/update-copyright, build-aux/useless-if-before-free:
* build-aux/vc-list-files:
Update hook usage for files where Gnulib is the canonical source.
14 files changed:
ChangeLog
build-aux/announce-gen
build-aux/bootstrap
build-aux/do-release-commit-and-tag
build-aux/gendocs.sh
build-aux/git-version-gen
build-aux/gitlog-to-changelog
build-aux/gnu-web-doc-update
build-aux/gnupload
build-aux/move-if-change
build-aux/prefix-gnulib-mk
build-aux/update-copyright
build-aux/useless-if-before-free
build-aux/vc-list-files