Simplify time-stamp local variables
* config.guess, config.sub: Use time-stamp-pattern in preference to
setting multiple Emacs time-stamp variables. Add time-stamp to hook
locally, so Emacs will accept this setting as safe without prompting.
diff --git a/config.guess b/config.guess
index e81d3ae..9b26d7d 100755
--- a/config.guess
+++ b/config.guess
@@ -4,7 +4,7 @@
# shellcheck disable=SC2006,SC2268 # see below for rationale
-timestamp='2021-06-03'
+timestamp='2021-08-25'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -1741,8 +1741,6 @@ fi
exit 1
# Local variables:
-# eval: (add-hook 'before-save-hook 'time-stamp)
-# time-stamp-start: "timestamp='"
-# time-stamp-format: "%:y-%02m-%02d"
-# time-stamp-end: "'"
+# eval: (add-hook 'before-save-hook 'time-stamp nil t)
+# time-stamp-pattern: "timestamp='%Y-%02m-%02d'"
# End:
diff --git a/config.sub b/config.sub
index d74fb6d..29bb61c 100755
--- a/config.sub
+++ b/config.sub
@@ -4,7 +4,7 @@
# shellcheck disable=SC2006,SC2268 # see below for rationale
-timestamp='2021-08-14'
+timestamp='2021-08-25'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -1877,8 +1877,6 @@ echo "$cpu-$vendor-${kernel:+$kernel-}$os"
exit
# Local variables:
-# eval: (add-hook 'before-save-hook 'time-stamp)
-# time-stamp-start: "timestamp='"
-# time-stamp-format: "%:y-%02m-%02d"
-# time-stamp-end: "'"
+# eval: (add-hook 'before-save-hook 'time-stamp nil t)
+# time-stamp-pattern: "timestamp='%Y-%02m-%02d'"
# End: