[latex3-commits] [git/LaTeX3-latex3-latex2e] hook-args: Simplify (2e81a2b7)

PhelypeOleinik phelype.oleinik at latex-project.org
Sat Mar 11 03:06:36 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : hook-args
Link       : https://github.com/latex3/latex2e/commit/2e81a2b77570d770c5b00a1de6b6492cbc51d4f1

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

commit 2e81a2b77570d770c5b00a1de6b6492cbc51d4f1
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Wed Mar 8 00:27:14 2023 -0300

    Simplify


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

2e81a2b77570d770c5b00a1de6b6492cbc51d4f1
 base/lthooks.dtx | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 6f616921..138b9715 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.