[latex3-commits] [git/LaTeX3-latex3-latex2e] hook-args: Remove unnecessary macro (d2263be0)

PhelypeOleinik phelype.oleinik at latex-project.org
Wed Mar 8 04:42:38 CET 2023


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

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

commit d2263be0552b888d8432e6b1bbde77d08f13d052
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Wed Mar 8 00:42:38 2023 -0300

    Remove unnecessary macro


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

d2263be0552b888d8432e6b1bbde77d08f13d052
 base/lthooks.dtx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 9ecc576c..0f7d564f 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -5438,7 +5438,7 @@
       { \msg_error:nnn { hooks } { hook-disabled } {#1} }
       {
         \@@_if_structure_exist:nTF {#1}
-          { \@@_gput_next_choose:nn }
+          { \@@_gput_next_do:nn }
           { \@@_try_declaring_generic_next_hook:nn }
               {#1} {#2}
       }
@@ -5447,8 +5447,6 @@
 %
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_gput_next_do:nn #1
-  { \@@_gput_next_choose:nn {#1} }
-\cs_new_protected:Npn \@@_gput_next_choose:nn #1
   {
     \@@_if_replacing_args:TF
       {





More information about the latex3-commits mailing list.