[latex3-commits] [git/LaTeX3-latex3-latex3] cmd: Rename xparse->ltcmd in message modules (42f58f410)

PhelypeOleinik phelype.oleinik at latex-project.org
Wed Jan 27 01:21:01 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : cmd
Link       : https://github.com/latex3/latex3/commit/42f58f410e1150f30a20e820302d902251cd604c

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

commit 42f58f410e1150f30a20e820302d902251cd604c
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Tue Jan 26 21:21:01 2021 -0300

    Rename xparse->ltcmd in message modules
    
    Because it's not xparse anymore, and to allow roll-forward


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

42f58f410e1150f30a20e820302d902251cd604c
 l3packages/xparse/xparse.dtx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/l3packages/xparse/xparse.dtx b/l3packages/xparse/xparse.dtx
index cd58b706a..640b6388a 100644
--- a/l3packages/xparse/xparse.dtx
+++ b/l3packages/xparse/xparse.dtx
@@ -1072,14 +1072,14 @@
 \clist_new:N \l_@@_options_clist
 \DeclareOption* { \clist_put_right:NV \l_@@_options_clist \CurrentOption }
 \ProcessOptions \relax
-\keys_define:nn { xparse }
+\keys_define:nn { ltcmd }
   {
     log-declarations .bool_set:N = \l_@@_log_bool ,
     log-declarations .initial:n  = false
   }
-\keys_set:nV { xparse } \l_@@_options_clist
+\keys_set:nV { ltcmd } \l_@@_options_clist
 \bool_if:NF \l_@@_log_bool
-  { \msg_redirect_module:nnn { LaTeX / xparse } { info } { none } }
+  { \msg_redirect_module:nnn { LaTeX / ltcmd } { info } { none } }
 %    \end{macrocode}
 % \end{variable}
 % \end{variable}
@@ -1097,7 +1097,7 @@
     \int_incr:N \l_@@_current_arg_int
     \cs_if_exist_use:cF { @@_normalize_type_ \tl_to_str:n {#1} :w }
       {
-        \__kernel_msg_error:nnxx { xparse } { unknown-argument-type }
+        \__kernel_msg_error:nnxx { ltcmd } { unknown-argument-type }
           { \@@_environment_or_command: } { \tl_to_str:n {#1} }
         \@@_bad_def:wn
       }





More information about the latex3-commits mailing list.