[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo.tex: Simplify time-stamp local variables
From: |
Stephen Gildea |
Subject: |
texinfo.tex: Simplify time-stamp local variables |
Date: |
Wed, 25 Aug 2021 17:32:38 -0700 |
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:
- texinfo.tex: Simplify time-stamp local variables,
Stephen Gildea <=