texinfo.tex: Simplify time-stamp local variables

* doc/texinfo.tex: Use time-stamp-pattern in preference to setting
multiple time-stamp Emacs variables.  Add time-stamp to hook locally,
so that Emacs will accept this setting as safe without prompting.

--- a/doc/texinfo.tex
+++ b/doc/texinfo.tex
@@ -11600,11 +11600,9 @@
 @setregularquotes
 
 @c Local variables:
-@c eval: (add-hook 'before-save-hook 'time-stamp)
+@c eval: (add-hook 'before-save-hook 'time-stamp nil t)
+@c time-stamp-pattern: "texinfoversion{%Y-%02m-%02d.%02H}"
 @c page-delimiter: "^\\\\message\\|emacs-page"
-@c time-stamp-start: "def\\\\texinfoversion{"
-@c time-stamp-format: "%:y-%02m-%02d.%02H"
-@c time-stamp-end: "}"
 @c End:
 
 @c vim:sw=2:


Reply via email to