[latex3-commits] [latex3/latex2e] cmd-args: Use \@@_gput_... instead of \hook_gput_... internally (f1a9bfc2)

github at latex-project.org github at latex-project.org
Thu May 18 05:32:30 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : cmd-args
Link       : https://github.com/latex3/latex2e/commit/f1a9bfc259644233d8cf263d2eaf220bd86b4a76

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

commit f1a9bfc259644233d8cf263d2eaf220bd86b4a76
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Thu May 18 00:32:30 2023 -0300

    Use \@@_gput_... instead of \hook_gput_... internally
    
    otherwise a call to \hook_gput_code_with_args:nnn is not respected on a generic hook


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

f1a9bfc259644233d8cf263d2eaf220bd86b4a76
 base/lthooks.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 29ddc196..7e5b6c70 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -3829,14 +3829,14 @@
 \cs_new_protected:Npn \@@_try_declaring_generic_hook:nnn #1
   {
     \@@_try_declaring_generic_hook:wnTF #1 / / / \scan_stop: {#1}
-      \hook_gput_code:nnn
+      \@@_gput_code:nnn
       \@@_gput_undeclared_hook:nnn
         {#1}
   }
 \cs_new_protected:Npn \@@_try_declaring_generic_next_hook:nn #1
   {
     \@@_try_declaring_generic_hook:wnTF #1 / / / \scan_stop: {#1}
-      \hook_gput_next_code:nn
+      \@@_gput_next_code:nn
       \@@_gput_next_do:nn
         {#1}
   }





More information about the latex3-commits mailing list.