[latex3-commits] [git/LaTeX3-latex3-latex3] main: Use existing \use_ii_i:nn instead of a private copy in l3clist (301fb28c8)

Bruno Le Floch blflatex at gmail.com
Thu May 13 20:49:14 CEST 2021


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/301fb28c82df32fdf9a948ceec148517598975d5

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

commit 301fb28c82df32fdf9a948ceec148517598975d5
Author: Bruno Le Floch <blflatex at gmail.com>
Date:   Thu May 13 20:49:14 2021 +0200

    Use existing \use_ii_i:nn instead of a private copy in l3clist


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

301fb28c82df32fdf9a948ceec148517598975d5
 l3kernel/l3clist.dtx | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/l3kernel/l3clist.dtx b/l3kernel/l3clist.dtx
index f61fedb48..16142c3f1 100644
--- a/l3kernel/l3clist.dtx
+++ b/l3kernel/l3clist.dtx
@@ -1814,7 +1814,7 @@
 % \end{macro}
 % \end{macro}
 %
-% \begin{macro}{\clist_map_tokens:nn, \@@_map_tokens_n:nw, \@@_use_ii_i:nn}
+% \begin{macro}{\clist_map_tokens:nn, \@@_map_tokens_n:nw}
 %   Similar to \cs{clist_map_function:nN} but with a different way of
 %   grabbing items because we cannot use \cs{exp_after:wN} to pass the
 %   \meta{code}.
@@ -1830,12 +1830,11 @@
     \tl_if_empty:oF { \use_none:nn #2 ? }
       {
         \exp_args:No \@@_if_recursion_tail_break:nN {#2} \clist_map_break:
-        \tl_trim_spaces_apply:oN {#2} \@@_use_ii_i:nn
+        \tl_trim_spaces_apply:oN {#2} \use_ii_i:nn
         \@@_map_unbrace:wn , {#1}
       }
     \@@_map_tokens_n:nw {#1} \prg_do_nothing:
   }
-\cs_new:Npn \@@_use_ii_i:nn #1#2 { #2 #1 }
 %    \end{macrocode}
 % \end{macro}
 %
@@ -1993,7 +1992,7 @@
       { \@@_use:Nw #1#2 ; }
       {
         \@@_use_none_delimit_by_s_mark:w #4 #1 \s_@@_mark
-        \tl_trim_spaces_apply:oN {#4} \@@_use_ii_i:nn
+        \tl_trim_spaces_apply:oN {#4} \use_ii_i:nn
         \@@_map_unbrace:wn , { #2 ; }
       }
     #3 ; \prg_do_nothing:





More information about the latex3-commits mailing list.