[latex3-commits] [latex3/latex2e] develop: Use a standard mapping (7931ba4d)

github at latex-project.org github at latex-project.org
Fri Dec 1 13:13:27 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/7931ba4d67b243cbc1783443299db28635879bc4

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

commit 7931ba4d67b243cbc1783443299db28635879bc4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Nov 28 22:07:51 2023 +0000

    Use a standard mapping


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

7931ba4d67b243cbc1783443299db28635879bc4
 base/ltcmd.dtx | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 1ced4c90..c60cbec8 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -435,25 +435,21 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}[EXP]{\@@_all_m_check:n}
-% \begin{macro}[EXP]{\@@_all_m_check:w}
+% \begin{macro}[EXP]{\@@_all_m_check:n, \@@_all_m_check_aux:n}
 %   A quick loop to check for all |(+)m|-type arguments.
 %    \begin{macrocode}
 \cs_new:Npn \@@_all_m_check:n #1
-  { \@@_all_m_check:w #1 \q_recursion_tail \q_recursion_stop }
-\cs_new:Npn \@@_all_m_check:w #1
+  { \tl_map_function:nN {#1} \@@_all_m_check_aux:n }
+\cs_new:Npn \@@_all_m_check_aux:n #1
   {
-    \quark_if_recursion_tail_stop:n {#1}
     \str_if_eq:nnF {#1} { m }
       {
         \str_if_eq:nnF {#1} { + }
           { X }
       }
-    \@@_all_m_check:w
   }
 %    \end{macrocode}
 % \end{macro}
-% \end{macro}
 %
 % \begin{macro}{\@@_declare_cmd_code:Nnn}
 % \begin{macro}





More information about the latex3-commits mailing list.