[latex3-commits] [git/LaTeX3-latex3-latex2e] gh239: This extra set of braces is a good idea (f5eeda55)

PhelypeOleinik tex.phelype at gmail.com
Sat May 9 06:02:30 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : gh239
Link       : https://github.com/latex3/latex2e/commit/f5eeda556a1ad30f40670f0460db84365c56e3f5

>---------------------------------------------------------------

commit f5eeda556a1ad30f40670f0460db84365c56e3f5
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Sat May 9 01:02:30 2020 -0300

    This extra set of braces is a good idea


>---------------------------------------------------------------

f5eeda556a1ad30f40670f0460db84365c56e3f5
 base/doc/ltnews32.tex          | 2 +-
 base/testfiles/github-0239.lvt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/base/doc/ltnews32.tex b/base/doc/ltnews32.tex
index b902d70c..505f8f9d 100644
--- a/base/doc/ltnews32.tex
+++ b/base/doc/ltnews32.tex
@@ -420,7 +420,7 @@ robust command defined with \cs{newrobustcmd}.  This can be added to the
 list of tests with:
 \begin{verbatim}
 \g at addto@macro\@declarecommandcopylisthook
-  {\ifrobustcmd\letrobustcmd}
+  {{\ifrobustcmd\letrobustcmd}}
 \end{verbatim}
 then \cs{NewCommandCopy} will support macros defined with
 \cs{newrobustcmd}.
diff --git a/base/testfiles/github-0239.lvt b/base/testfiles/github-0239.lvt
index 80c2cc38..975e32e1 100644
--- a/base/testfiles/github-0239.lvt
+++ b/base/testfiles/github-0239.lvt
@@ -41,7 +41,7 @@
     \csname\string#1\expandafter\endcsname
     \csname\string#2\endcsname}
 \g at addto@macro\@declarecommandcopylisthook
-  {\ifrobustcmd\letrobustcmd}
+  {{\ifrobustcmd\letrobustcmd}}
 %%
 
 \def\cmda{defined}





More information about the latex3-commits mailing list.