[latex3-commits] [git/LaTeX3-latex3-latex2e] gh479: not my day I guess (de1cbb83)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Jan 22 22:41:09 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh479
Link       : https://github.com/latex3/latex2e/commit/de1cbb836fd6f3d6ed3546c58c1a900f03a55363

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

commit de1cbb836fd6f3d6ed3546c58c1a900f03a55363
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Jan 22 22:41:09 2021 +0100

    not my day I guess


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

de1cbb836fd6f3d6ed3546c58c1a900f03a55363
 base/latexrelease.dtx | 46 +++++++++++++++++++++++-----------------------
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/base/latexrelease.dtx b/base/latexrelease.dtx
index 72a92ac8..5832a0a8 100644
--- a/base/latexrelease.dtx
+++ b/base/latexrelease.dtx
@@ -490,36 +490,22 @@ of this package available from CTAN}
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\cs_set_eq:NN \cs_if_free:NF \__latexrelease_cs_if_free:NF
-\cs_set_eq:NN \__kernel_chk_if_free_cs:N \__latexrelease___kernel_chk_if_free_cs:N
+\cs_set_eq:NN \__latexrelease_cs_if_free:NF \cs_if_free:NF 
+\cs_set_eq:NN \__latexrelease___kernel_chk_if_free_cs:N \__kernel_chk_if_free_cs:N
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\cs_set_eq:NN \__kernel_msg_error:nnx \__latexrelease___kernel_msg_error:nnx
-\cs_set_eq:NN \__kernel_msg_new:nn  \__latexrelease___kernel_msg_new:nn
+\cs_set_eq:NN \__latexrelease___kernel_msg_error:nnx \__kernel_msg_error:nnx
+\cs_set_eq:NN \__latexrelease___kernel_msg_new:nn \__kernel_msg_new:nn
 \cs_set_eq:NN \__kernel_msg_new:nnn \__latexrelease___kernel_msg_new:nnn
-\cs_set_eq:NN \msg_new:nn   \__latexrelease_msg_new:nn
-\cs_set_eq:NN \msg_new:nnn  \__latexrelease_msg_new:nnn
-\cs_set_eq:NN \msg_new:nnnn \__latexrelease_msg_new:nnnn
+\cs_set_eq:NN \__latexrelease_msg_new:nn \msg_new:nn
+\cs_set_eq:NN \__latexrelease_msg_new:nnn \msg_new:nnn
+\cs_set_eq:NN \__latexrelease_msg_new:nnnn \msg_new:nnnn 
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\def\declarecommand{\@star at or@long\declare at command}
-\def\declare at command#1{%
-  \@tempswafalse
-  \ifx#1\@undefined \@tempswatrue \else     % not the way to do it but ...
-  \ifx#1\relax      \@tempswatrue \fi \fi   % good enough for now
-  \if at tempswa
-    \expandafter\new at command
-  \else
-    \expandafter\renew at command
-  \fi
-  #1}
-%    \end{macrocode}
-%
-%    \begin{macrocode}
-\cs_set_eq:NN\NewDocumentCommand\__latexrelease_NewDocumentCommand
-\cs_set_eq:NN\newcommand        \__latexrelease_newcommand
+\cs_set_eq:NN \__latexrelease_NewDocumentCommand \NewDocumentCommand
+\cs_set_eq:NN \__latexrelease_newcommand \newcommand
 %    \end{macrocode}
 %
 %    The new definitions while rolling back:
@@ -538,6 +524,20 @@ of this package available from CTAN}
 %    \end{macrocode}
 %
 %    \begin{macrocode}
+\def\declarecommand{\@star at or@long\declare at command}
+\def\declare at command#1{%
+  \@tempswafalse
+  \ifx#1\@undefined \@tempswatrue \else     % not the way to do it but ...
+  \ifx#1\relax      \@tempswatrue \fi \fi   % good enough for now
+  \if at tempswa
+    \expandafter\new at command
+  \else
+    \expandafter\renew at command
+  \fi
+  #1}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
 \cs_set_eq:NN \NewDocumentCommand\DeclareDocumentCommand
 \cs_set_eq:NN \newcommand        \declarecommand
 %    \end{macrocode}





More information about the latex3-commits mailing list.