summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-03-06 20:13:32 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2018-03-06 20:14:19 -0800
commit6bab5b26a1241b0e0edd058d2a921989f9a1747c (patch)
tree7a878ab05456f67460b915d2b8fed43b22056fe4 /contrib
parent4ef6c2d17d2805fd6f84af012ddc44edd7650789 (diff)
downloadautomake-6bab5b26a1241b0e0edd058d2a921989f9a1747c.tar.gz
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 * contrib/tap-driver.pl, lib/compile, lib/depcomp, lib/install-sh: * lib/mdate-sh, lib/missing, lib/mkinstalldirs, lib/py-compile: * lib/tap-driver.sh, lib/test-driver, lib/ylwrap: Update hook usage for files where Automake is the canonical source.
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/tap-driver.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tap-driver.pl b/contrib/tap-driver.pl
index abfc9d08f..bdd86d783 100755
--- a/contrib/tap-driver.pl
+++ b/contrib/tap-driver.pl
@@ -555,7 +555,7 @@ main @ARGV;
# cperl-extra-newline-before-brace: t
# cperl-merge-trailing-else: nil
# cperl-continued-statement-offset: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-start: "my $VERSION = "
# time-stamp-format: "'%:y-%02m-%02d.%02H'"
# time-stamp-time-zone: "UTC0"