[latex3-commits] [git/LaTeX3-latex3-latex2e] ltcmdhooks: dropped a definition by mistake (1586b077)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sun Apr 18 10:18:52 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : ltcmdhooks
Link : https://github.com/latex3/latex2e/commit/1586b077cb932095877c299c65e0d8ddfa509cb7
>---------------------------------------------------------------
commit 1586b077cb932095877c299c65e0d8ddfa509cb7
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sun Apr 18 10:18:52 2021 +0200
dropped a definition by mistake
>---------------------------------------------------------------
1586b077cb932095877c299c65e0d8ddfa509cb7
base/lthooks.dtx | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 52a9d163..7ad63a49 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -3920,9 +3920,6 @@
% \begin{macrocode}
\cs_new_protected:Npn \hook_gput_next_code:nn #1
{ \@@_normalize_hook_args:Nn \@@_gput_next_code:nn {#1} }
-% \end{macrocode}
-%
-% \begin{macrocode}
\cs_new_protected:Npn \@@_gput_next_code:nn #1 #2
{
\@@_if_disabled:nTF {#1}
@@ -3935,6 +3932,14 @@
}
}
% \end{macrocode}
+%
+% \begin{macrocode}
+\cs_new_protected:Npn \@@_gput_next_do:nn #1
+ {
+ \exp_args:Nc \@@_gput_next_do:Nnn
+ { @@_next~#1 } {#1}
+ }
+% \end{macrocode}
% First check if the ``next code'' token list is empty: if so we need
% to add a \cs{tl_gclear:c} to clear it, so the code lasts for one
% usage only. The token list is cleared early so that nested usages
More information about the latex3-commits
mailing list.