[latex3-commits] [git/LaTeX3-latex3-latex2e] hook-args: Simplify (3dc6ef61)
PhelypeOleinik
phelype.oleinik at latex-project.org
Wed Mar 8 04:27:14 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : hook-args
Link : https://github.com/latex3/latex2e/commit/3dc6ef610319fb8755ff59d331f2f219436bbca3
>---------------------------------------------------------------
commit 3dc6ef610319fb8755ff59d331f2f219436bbca3
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Wed Mar 8 00:27:14 2023 -0300
Simplify
>---------------------------------------------------------------
3dc6ef610319fb8755ff59d331f2f219436bbca3
base/lthooks.dtx | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index dd3f373a..2624e773 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -3326,7 +3326,7 @@
% \end{macrocode}
%
% \begin{macrocode}
-\cs_new_protected:Npn \@@_gput_code:nnn #1
+\cs_new_protected:Npn \@@_gput_code:nnn #1 #2
{
\@@_if_replacing_args:TF
{
@@ -3341,10 +3341,6 @@
}
}
{ }
- \@@_gput_code_normal:nnn {#1}
- }
-\cs_new_protected:Npn \@@_gput_code_normal:nnn #1 #2
- {
% \end{macrocode}
% First check if the code should be executed immediately, rather than
% stored:
More information about the latex3-commits
mailing list.