The write-file-hooks feature of Emacs has been declared obsolescent
since Emacs 22.1 (2007), so it's time to use this feature's suggested
replacement in the Texinfo files that use the feature. For more details,
please see this thread:
https://lists.gnu.org/r/bug-gnulib/2018-03/msg8.html
Proposed patch attached. This patch doesn't affect other files in the
Texinfo source-code repository that use the obsolescent feature, as
these files are downstream from other packages that have already
upgraded and so should be fixed automatically on the next autoupdate.
Index: contrib/txipsfonts-bronger.tex
===
--- contrib/txipsfonts-bronger.tex (revision 7997)
+++ contrib/txipsfonts-bronger.tex (working copy)
@@ -4,7 +4,7 @@
% Load plain if necessary, i.e., if running under initex.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
%
-\def\texinfoversion{2003-07-28.08-PS}
+\def\texinfoversion{2018-03-07.16}
%
% Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
@@ -6587,7 +6587,7 @@
@c Local variables:
-@c eval: (add-hook 'write-file-hooks 'time-stamp)
+@c eval: (add-hook 'before-save-hook 'time-stamp)
@c page-delimiter: "^message"
@c time-stamp-start: "deftexinfoversion{"
@c time-stamp-format: "%:y-%02m-%02d.%02H"
Index: doc/texinfo.tex
===
--- doc/texinfo.tex (revision 7997)
+++ doc/texinfo.tex (working copy)
@@ -3,7 +3,7 @@
% Load plain if necessary, i.e., if running under initex.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
%
-\def\texinfoversion{2018-02-12.17}
+\def\texinfoversion{2018-03-07.16}
%
% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -11715,7 +11715,7 @@
@markupsetuprqdefault
@c Local variables:
-@c eval: (add-hook 'write-file-hooks 'time-stamp)
+@c eval: (add-hook 'before-save-hook 'time-stamp)
@c page-delimiter: "^message\\|emacs-page"
@c time-stamp-start: "deftexinfoversion{"
@c time-stamp-format: "%:y-%02m-%02d.%02H"