[latex3-commits] [git/LaTeX3-latex3-latex3] master: Use \cs_if_exist_use:N instead of \use:c for trace (b8030a89b)

GitHub noreply at github.com
Wed Jul 31 16:34:10 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/b8030a89bf6f8cf60a6fe9900a7db1c114f84620

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

commit b8030a89bf6f8cf60a6fe9900a7db1c114f84620
Author: Phelype Oleinik <phe.h.o1 at gmail.com>
Date:   Wed Jul 31 11:34:10 2019 -0300

    Use \cs_if_exist_use:N instead of \use:c for trace
    
    Same as https://github.com/latex3/latex3/commit/b43cf910a4901ed052a2a3ec864153036249347b, modulo messing up line endings.


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

b8030a89bf6f8cf60a6fe9900a7db1c114f84620
 l3kernel/l3file.dtx | 2 +-
 l3kernel/l3msg.dtx  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/l3kernel/l3file.dtx b/l3kernel/l3file.dtx
index 36e0d59df..abc93cfaf 100644
--- a/l3kernel/l3file.dtx
+++ b/l3kernel/l3file.dtx
@@ -1699,7 +1699,7 @@
 \cs_new_protected:Npn \iow_wrap:nnnN #1#2#3#4
   {
     \group_begin:
-%<package>      \use:c { conditionally at traceoff }
+%<package>      \cs_if_exist_use:N \conditionally at traceoff
       \int_set:Nn \tex_escapechar:D { -1 }
       \cs_set:Npx \{ { \token_to_str:N \{ }
       \cs_set:Npx \# { \token_to_str:N \# }
diff --git a/l3kernel/l3msg.dtx b/l3kernel/l3msg.dtx
index a2148ec87..8540a445e 100644
--- a/l3kernel/l3msg.dtx
+++ b/l3kernel/l3msg.dtx
@@ -1306,7 +1306,7 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_use:nnnnnnn #1#2#3#4#5#6#7
   {
-%<package>    \use:c { conditionally at traceoff }
+%<package>    \cs_if_exist_use:N \conditionally at traceoff
     \msg_if_exist:nnTF {#2} {#3}
       {
         \@@_class_chk_exist:nT {#1}
@@ -1324,7 +1324,7 @@
           }
       }
       { \__kernel_msg_error:nnxx { kernel } { message-unknown } {#2} {#3} }
-%<package>    \use:c { conditionally at traceon }
+%<package>    \cs_if_exist_use:N \conditionally at traceon
   }
 \cs_new_protected:Npn \@@_use_code: { }
 %    \end{macrocode}





More information about the latex3-commits mailing list