[latex3-commits] [git/LaTeX3-latex3-latex2e] gh569: Add entries to \@declarecommandcopylisthook (745c8735)

PhelypeOleinik phelype.oleinik at latex-project.org
Mon Aug 9 00:50:26 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh569
Link       : https://github.com/latex3/latex2e/commit/745c873578f706927030bdaf28c5e3e01b513f87

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

commit 745c873578f706927030bdaf28c5e3e01b513f87
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Sun Aug 8 19:50:26 2021 -0300

    Add entries to \@declarecommandcopylisthook


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

745c873578f706927030bdaf28c5e3e01b513f87
 base/ltcmd.dtx | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 88ba6e34..6f8fdf76 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -896,6 +896,13 @@
   { \cs_if_exist:NTF #2 { \cs_set_eq:NN } { \use_none:nn } #1 #2 }
 \cs_generate_variant:Nn \@@_set_eq_if_exist:NN { cc }
 %    \end{macrocode}
+%
+%   And, of course, add \cs{__kernel_cmd_if_xparse:NTF} and
+%   \cs{@@_copy:NN} to \cs{@declarecommandcopylisthook}:
+%    \begin{macrocode}
+\tl_gput_right:Nn \@declarecommandcopylisthook
+  { { \__kernel_cmd_if_xparse:NTF \@@_copy:NN } }
+%    \end{macrocode}
 % \end{macro}
 % \end{macro}
 %
@@ -2320,6 +2327,7 @@
 % \end{macro}
 % \end{macro}
 % \end{macro}
+%
 % \begin{macro}{\@@_grab_D_nested:NNnN}
 % \begin{macro}{\@@_grab_D_nested:w}
 % \begin{macro}{\l_@@_nesting_a_tl}





More information about the latex3-commits mailing list.