diff options
Diffstat (limited to 'macros/latex/contrib/l3packages/xparse.dtx')
-rw-r--r-- | macros/latex/contrib/l3packages/xparse.dtx | 22 |
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} |