From db0b059ae4f489d0c83b785b259eb965a181d0d0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 7 Mar 2018 00:29:38 -0800 Subject: 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. --- build-aux/do-release-commit-and-tag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build-aux/do-release-commit-and-tag') diff --git a/build-aux/do-release-commit-and-tag b/build-aux/do-release-commit-and-tag index 18b3942a57..4472ff50d2 100755 --- a/build-aux/do-release-commit-and-tag +++ b/build-aux/do-release-commit-and-tag @@ -3,7 +3,7 @@ # controlled .prev-version file, automate the procedure by which we record # the date, release-type and version string in the NEWS file. That commit # will serve to identify the release, so apply a signed tag to it as well. -VERSION=2017-09-13.06 # UTC +VERSION=2018-03-07.03 # UTC # Note: this is a bash script (could be zsh or dash) @@ -171,7 +171,7 @@ git tag -s -m "$pkg $ver" v$ver HEAD || die 'git tag failed' # Local variables: # indent-tabs-mode: nil -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "VERSION=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" -- cgit v1.2.1