[latex3-commits] [git/LaTeX3-latex3-latex3] seq_set_map: Fix usages of \seq_set_map:NNn in the kernel (79fe7c50c)

PhelypeOleinik tex.phelype at gmail.com
Thu Jul 16 15:15:43 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : seq_set_map
Link       : https://github.com/latex3/latex3/commit/79fe7c50ca3ef79d89d325f4ff530007a39a4b3e

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

commit 79fe7c50ca3ef79d89d325f4ff530007a39a4b3e
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Thu Jul 16 10:15:43 2020 -0300

    Fix usages of \seq_set_map:NNn in the kernel


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

79fe7c50ca3ef79d89d325f4ff530007a39a4b3e
 l3kernel/l3doc.dtx   | 2 +-
 l3kernel/l3regex.dtx | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/l3kernel/l3doc.dtx b/l3kernel/l3doc.dtx
index ffb7269f4..65af27ffa 100644
--- a/l3kernel/l3doc.dtx
+++ b/l3kernel/l3doc.dtx
@@ -3368,7 +3368,7 @@ and all files in that bundle must be distributed together.
   {
     \seq_set_map:NNn \l_@@_tmpa_seq
       \g_@@_nested_names_seq
-      { \exp_not:n { \@@_macro_end_wrap_item:n {##1} } }
+      { \@@_macro_end_wrap_item:n {##1} }
     End~ definition~ for~
     \int_compare:nTF { \seq_count:N \l_@@_tmpa_seq <= 3 }
       {
diff --git a/l3kernel/l3regex.dtx b/l3kernel/l3regex.dtx
index 30e355ead..358acd2f7 100644
--- a/l3kernel/l3regex.dtx
+++ b/l3kernel/l3regex.dtx
@@ -3699,7 +3699,7 @@
 \cs_new_protected:Npn \@@_show_item_exact_cs:n #1
   {
     \seq_set_split:Nnn \l_@@_internal_seq { \scan_stop: } {#1}
-    \seq_set_map:NNn \l_@@_internal_seq
+    \seq_set_map_x:NNn \l_@@_internal_seq
       \l_@@_internal_seq { \iow_char:N\\##1 }
     \@@_show_one:n
       { control~sequence~ \seq_use:Nn \l_@@_internal_seq { ~or~ } }
@@ -6109,7 +6109,7 @@
             { \flag_height:n { @@_end } }
             { \flag_height:n { @@_begin } }
         }
-      \seq_set_map:NNn \l_@@_internal_seq \l_@@_internal_seq {##1}
+      \seq_set_map_x:NNn \l_@@_internal_seq \l_@@_internal_seq {##1}
       \exp_args:NNNo
       \group_end:
       \tl_set:Nn #1 { \l_@@_internal_seq }





More information about the latex3-commits mailing list.