[latex3-commits] [git/LaTeX3-latex3-latex3] master: Use \cs_if_exist_use:N instead of \use:c for trace (b43cf910a)
GitHub
noreply at github.com
Wed Jul 31 15:56:03 CEST 2019
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/b43cf910a4901ed052a2a3ec864153036249347b
>---------------------------------------------------------------
commit b43cf910a4901ed052a2a3ec864153036249347b
Author: Phelype Oleinik <phe.h.o1 at gmail.com>
Date: Wed Jul 31 10:56:03 2019 -0300
Use \cs_if_exist_use:N instead of \use:c for trace
Following the addition of `trace` support in `xparse` and (#564)
and the discussion here: https://github.com/latex3/latex3/commit/9a0c59b668a9a9b7b7f3d0ba7834cd3ed2d2cdfe
replaced \use:c { conditionally at traceon/off } by \cs_if_exist_use:N
>---------------------------------------------------------------
b43cf910a4901ed052a2a3ec864153036249347b
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..2c1204ae3 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..954597b8b 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