[latex3-commits] [latex3/latex2e] gh1189: Use a standard mapping (24556ecf)
github at latex-project.org
github at latex-project.org
Tue Nov 28 23:08:08 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : gh1189
Link : https://github.com/latex3/latex2e/commit/24556ecfe65ffce95b25eaa46c58ab6b99a514f4
>---------------------------------------------------------------
commit 24556ecfe65ffce95b25eaa46c58ab6b99a514f4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Nov 28 22:07:51 2023 +0000
Use a standard mapping
>---------------------------------------------------------------
24556ecfe65ffce95b25eaa46c58ab6b99a514f4
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.