[latex3-commits] [git/LaTeX3-latex3-latex2e] hook-args: Skip redundant test (4a4c6d5f)

PhelypeOleinik phelype.oleinik at latex-project.org
Sat Mar 25 03:37:34 CET 2023


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

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

commit 4a4c6d5fd7a1236bac63026529d27469cf2b0fbb
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Fri Mar 24 23:37:34 2023 -0300

    Skip redundant test
    
    All hooks here are usable, so all have the parameter tl


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

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

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 22de4c26..34340c8a 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -5109,8 +5109,7 @@
       { \exp_not:c { @@_toplevel~#3 } \@@_braced_real_parameter:n {#3} }
     \@@_tl_gput_right:Ne #1
       { \exp_not:c { @@_next~#3 } \@@_braced_real_parameter:n {#3} }
-    \tl_if_exist:cT { c_@@_#3_parameter_tl }
-      { \@@_code_gset_true:nV {#3} #1 }
+    \@@_code_gset_true:nV {#3} #1
   }
 \cs_new:Npn \@@_braced_actual_parameter:n #1
   {





More information about the latex3-commits mailing list.