[latex3-commits] [git/LaTeX3-latex3-latex2e] hook-args: Standardise a name (bbbfbf16)

PhelypeOleinik phelype.oleinik at latex-project.org
Sat Mar 11 03:06:36 CET 2023


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

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

commit bbbfbf164db14d6e1d6e439c33448af35e76a6ce
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Wed Feb 1 06:57:38 2023 -0300

    Standardise a name


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

bbbfbf164db14d6e1d6e439c33448af35e76a6ce
 base/lthooks.dtx | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 97b23a49..99f2e262 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -2113,10 +2113,13 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{\@@_clean_to_scan:w,\@@_use_i_delimit_by_s_mark:nw}
+% \begin{macro}{
+%     \@@_use_none_delimit_by_s_mark:w,
+%     \@@_use_i_delimit_by_s_mark:nw
+%   }
 %   Removes tokens until the next \cs{s_@@_mark}.
 %    \begin{macrocode}
-\cs_new:Npn \@@_clean_to_scan:w #1 \s_@@_mark { }
+\cs_new:Npn \@@_use_none_delimit_by_s_mark:w #1 \s_@@_mark { }
 \cs_new:Npn \@@_use_i_delimit_by_s_mark:nw #1 #2 \s_@@_mark {#1}
 %    \end{macrocode}
 % \end{macro}
@@ -3859,13 +3862,13 @@
         \@@_deprecated_generic_warn:n {#1}
         \@@_do_deprecated_generic:Nn \@@_gset_rule:nnnn {#1}
           {#2} {#3} {#4}
-        \@@_clean_to_scan:w
+        \@@_use_none_delimit_by_s_mark:w
       }
     \@@_if_execute_immediately:nT {#1}
       {
         \msg_error:nnnnnn { hooks } { rule-too-late }
           {#1} {#2} {#3} {#4}
-        \@@_clean_to_scan:w
+        \@@_use_none_delimit_by_s_mark:w
       }
 %    \end{macrocode}
 %    First we ensure the basic data structure of the hook exists:
@@ -5187,7 +5190,7 @@
   {
     \@@_if_usable:nTF {#1}
       {
-        \exp_after:wN \@@_clean_to_scan:w
+        \exp_after:wN \@@_use_none_delimit_by_s_mark:w
         \if:w I \cs:w g_@@_#1_reversed_tl \cs_end:
           \s_@@_mark \prg_return_true:
         \else:
@@ -5304,7 +5307,7 @@
 %    \begin{macrocode}
 \prg_new_conditional:Npnn \@@_if_reversed:n #1 { p , T , F , TF }
   {
-    \exp_after:wN \@@_clean_to_scan:w
+    \exp_after:wN \@@_use_none_delimit_by_s_mark:w
     \if:w - \cs:w g_@@_#1_reversed_tl \cs_end:
       \s_@@_mark \prg_return_true:
     \else:





More information about the latex3-commits mailing list.