[latex3-commits] [git/LaTeX3-latex3-latex2e] hook-args: Correctly clear next code after usage (b7e84cc4)
PhelypeOleinik
phelype.oleinik at latex-project.org
Wed Mar 8 04:52:09 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : hook-args
Link : https://github.com/latex3/latex2e/commit/b7e84cc46492f3dcfc4b4d1acf38f4c4bb629da4
>---------------------------------------------------------------
commit b7e84cc46492f3dcfc4b4d1acf38f4c4bb629da4
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Wed Mar 8 00:52:09 2023 -0300
Correctly clear next code after usage
>---------------------------------------------------------------
b7e84cc46492f3dcfc4b4d1acf38f4c4bb629da4
base/lthooks.dtx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index b84beda6..0a8bb069 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -5478,8 +5478,8 @@
{
\@@_cs_if_empty:cT { @@~#2 }
{ \@@_update_hook_code:n {#2} }
- \tl_if_empty:NT #1
- { \@@_tl_gset:Nn #1 { \@@_clear_next:n {#2} } }
+ \@@_cs_if_empty:cT { @@_next~#2 }
+ { \@@_next_gset:nn {#2} { \@@_clear_next:n {#2} } }
\@@_cs_gput_right:nnn { _next } {#2}
}
% \end{macrocode}
More information about the latex3-commits
mailing list.