summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3packages/xparse.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-05-28 03:01:17 +0000
committerNorbert Preining <norbert@preining.info>2021-05-28 03:01:17 +0000
commitfd03eb3aab9edb9b15484a1130509cebe187d8bd (patch)
tree9e07ef2b8a29d7aaf170e72d934d3e9ecee6452c /macros/latex/contrib/l3packages/xparse.dtx
parent5f1cfa686748068fedb95d8dafda3dc7f999c948 (diff)
CTAN sync 202105280301
Diffstat (limited to 'macros/latex/contrib/l3packages/xparse.dtx')
-rw-r--r--macros/latex/contrib/l3packages/xparse.dtx22
1 files changed, 14 insertions, 8 deletions
diff --git a/macros/latex/contrib/l3packages/xparse.dtx b/macros/latex/contrib/l3packages/xparse.dtx
index 30f39c1971..89bc69e748 100644
--- a/macros/latex/contrib/l3packages/xparse.dtx
+++ b/macros/latex/contrib/l3packages/xparse.dtx
@@ -67,7 +67,7 @@
% }^^A
% }
%
-% \date{Released 2021-05-07}
+% \date{Released 2021-05-27}
%
% \maketitle
%
@@ -1064,7 +1064,7 @@
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesExplPackage{xparse}{2021-05-07}{}
+\ProvidesExplPackage{xparse}{2021-05-27}{}
{L3 Experimental document command parser}
% \end{macrocode}
%
@@ -1078,14 +1078,20 @@
\clist_new:N \l_@@_options_clist
\DeclareOption* { \clist_put_right:NV \l_@@_options_clist \CurrentOption }
\ProcessOptions \relax
-\keys_define:nn { ltcmd }
+\cs_set_protected:Npn \@@_tmp:w #1
{
- log-declarations .bool_set:N = \l_@@_log_bool ,
- log-declarations .initial:n = false
+ \keys_define:nn { ltcmd }
+ {
+ log-declarations .bool_set:N = \l_@@_log_bool ,
+ log-declarations .initial:n = false
+ }
+ \keys_set:nV { ltcmd } \l_@@_options_clist
+ \bool_if:NF \l_@@_log_bool
+ { \msg_redirect_module:nnn { LaTeX / ltcmd } { info } { none } }
}
-\keys_set:nV { ltcmd } \l_@@_options_clist
-\bool_if:NF \l_@@_log_bool
- { \msg_redirect_module:nnn { LaTeX / ltcmd } { info } { none } }
+\msg_if_exist:nnTF { cmd } { define-command }
+ { \@@_tmp:w { cmd } }
+ { \@@_tmp:w { ltcmd } }
% \end{macrocode}
% \end{variable}
% \end{variable}