[latex3-commits] [git/LaTeX3-latex3-latex2e] l3debug: Third time's the charm (f9115634)

PhelypeOleinik phelype.oleinik at latex-project.org
Wed May 18 23:21:09 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : l3debug
Link       : https://github.com/latex3/latex2e/commit/f9115634b5c0d1d136daedd0a48cbc61f1ec94ef

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

commit f9115634b5c0d1d136daedd0a48cbc61f1ec94ef
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Wed May 18 18:21:09 2022 -0300

    Third time's the charm


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

f9115634b5c0d1d136daedd0a48cbc61f1ec94ef
 base/lthooks.dtx | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index c0146ad3..eff44672 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -4855,13 +4855,10 @@
   { \@@_tl_gset:cn { g_@@_#1_reversed_tl } { I } }
 \cs_new_protected:Npn \@@_use_once_clear:n #1
   {
-    \prop_if_exist:cT { g_@@_#1_code_prop }
-      {
-        \@@_tl_gclear:c { @@~#1 }
-        \@@_tl_gclear:c { @@_next~#1 }
-        \@@_tl_gclear:c { @@_toplevel~#1 }
-        \prop_gclear:c { g_@@_#1_code_prop }
-      }
+    \@@_tl_gclear:c { @@~#1 }
+    \@@_tl_gclear:c { @@_next~#1 }
+    \@@_tl_gclear:c { @@_toplevel~#1 }
+    \prop_gclear_new:c { g_@@_#1_code_prop }
   }
 %    \end{macrocode}
 % \end{macro}





More information about the latex3-commits mailing list.