[latex3-commits] [git/LaTeX3-latex3-latex2e] robustness: comment out unused command (2a4a0ce9)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Aug 28 16:01:01 CEST 2019


Repository : https://github.com/latex3/latex2e
On branch  : robustness
Link       : https://github.com/latex3/latex2e/commit/2a4a0ce92ea8ccb47c779dac9e3567eaefc3b7bb

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

commit 2a4a0ce92ea8ccb47c779dac9e3567eaefc3b7bb
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Aug 28 16:01:01 2019 +0200

    comment out unused command


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

2a4a0ce92ea8ccb47c779dac9e3567eaefc3b7bb
 base/ltdefns.dtx | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/base/ltdefns.dtx b/base/ltdefns.dtx
index bb94502c..a8c61fbc 100644
--- a/base/ltdefns.dtx
+++ b/base/ltdefns.dtx
@@ -1251,25 +1251,26 @@
 %    Only for compatibility reasons if \texttt{latexrelease} requests
 %    a rollback of the kernel. For this reason we pretend that this
 %    command existed in all earler versions of \LaTeX{} i.e., we are
-%    not rolling it back since we need it precisely then.
+%    not rolling it back since we need it precisely then (but as it
+%    isn't yet used it is still commented out).
 %    \begin{macrocode}
-\def\kernel at make@fragile#1{%
-  \@ifundefined{\expandafter\@gobble\string#1\space}%
+%\def\kernel at make@fragile#1{%
+%  \@ifundefined{\expandafter\@gobble\string#1\space}%
 %    \end{macrocode}
 %    If not robust do nothing.
 %    \begin{macrocode}
      {}%
 %    \end{macrocode}
-%    Else copy \verb*=\foo = back to \verb=\foo= and then undefine
+%    Otherwise copy \verb*=\foo = back to \verb=\foo= and then undefine
 %    the payload command.
 %    \begin{macrocode}
-     {%
-      \global\expandafter\let\expandafter #1\csname
-      \expandafter\@gobble\string#1\space\endcsname
-      \global\expandafter\let\csname
-      \expandafter\@gobble\string#1\space\endcsname\@undefined
-     }%            
-}
+%     {%
+%      \global\expandafter\let\expandafter #1\csname
+%      \expandafter\@gobble\string#1\space\endcsname
+%      \global\expandafter\let\csname
+%      \expandafter\@gobble\string#1\space\endcsname\@undefined
+%     }%            
+%}
 %    \end{macrocode}
 %  \end{macro}
 %





More information about the latex3-commits mailing list