texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * doc/texinfo.tex (\unmacro): Allow calling with


From: Gavin D. Smith
Subject: branch master updated: * doc/texinfo.tex (\unmacro): Allow calling with undefined macro, matching texi2any and the long-standing documentation. Report from Werner Lemberg. * NEWS: mention
Date: Fri, 09 Feb 2024 17:49:06 -0500

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new bbfb341d42 * doc/texinfo.tex (\unmacro): Allow calling with undefined 
macro, matching texi2any and the long-standing documentation. Report from 
Werner Lemberg. * NEWS: mention
bbfb341d42 is described below

commit bbfb341d42061be38e6aef9b7789427c61dc6a9c
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Fri Feb 9 22:48:58 2024 +0000

    * doc/texinfo.tex (\unmacro): Allow calling with undefined
    macro, matching texi2any and the long-standing documentation.
    Report from Werner Lemberg.
    * NEWS: mention
---
 ChangeLog       | 7 +++++++
 NEWS            | 2 ++
 doc/texinfo.tex | 4 +---
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a24640cc8d..2921a0cc0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-02-09  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * doc/texinfo.tex (\unmacro): Allow calling with undefined
+       macro, matching texi2any and the long-standing documentation.
+       Report from Werner Lemberg.
+       * NEWS: mention
+
 2024-02-09  Gavin Smith <gavinsmith0123@gmail.com>
 
        Fix unnumbered sections in PDF outline.
diff --git a/NEWS b/NEWS
index 3cc6c9b9a7..13c91c0bf6 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,8 @@ See the manual for detailed information.
  . use @ as the escape character in all index files.  this requires
    new enough texi2dvi (Texinfo 6.7, 2019) for index files to be properly
    processed.
+ . you can call @unmacro with an undefined macro name, matching the
+   behavior of texi2any
 * texi2any
  . info output: output Info-documentlanguage in Local Variables section
    of output file if @documentlanguage is given
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index fb8e292d53..1ef4915882 100644
--- a/doc/texinfo.tex
+++ b/doc/texinfo.tex
@@ -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{2024-02-09.21}
+\def\texinfoversion{2024-02-10.22}
 %
 % Copyright 1985, 1986, 1988, 1990-2024 Free Software Foundation, Inc.
 %
@@ -8202,8 +8202,6 @@ might help (with 'rm \jobname.?? \jobname.??s')%
       \let\commondummyword\unmacrodo
       \xdef\macrolist{\macrolist}%
     \endgroup
-  \else
-    \errmessage{Macro #1 not defined}%
   \fi
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]