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

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


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

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

commit febc65d58770b43be1a742f0478c50a4e8a14961
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Wed Mar 8 00:44:24 2023 -0300

    Simplify


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

febc65d58770b43be1a742f0478c50a4e8a14961
 base/lthooks.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 0f7d564f..b84beda6 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -5476,7 +5476,7 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_gput_next_do:Nnn #1 #2
   {
-    \exp_args:Ne \str_if_empty:nT { \cs_replacement_spec:c { @@~#2 } }
+    \@@_cs_if_empty:cT { @@~#2 }
       { \@@_update_hook_code:n {#2} }
     \tl_if_empty:NT #1
       { \@@_tl_gset:Nn #1 { \@@_clear_next:n {#2} } }





More information about the latex3-commits mailing list.