[latex3-commits] [git/LaTeX3-latex3-latex3] debug: Allow for generic mode when first reading deprecated code (9eb17f6)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Jun 18 07:44:22 CEST 2019
Repository : https://github.com/latex3/latex3
On branch : debug
Link : https://github.com/latex3/latex3/commit/9eb17f6fe872c8a4328112bed2728c418fb700ba
>---------------------------------------------------------------
commit 9eb17f6fe872c8a4328112bed2728c418fb700ba
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Jun 18 06:44:22 2019 +0100
Allow for generic mode when first reading deprecated code
>---------------------------------------------------------------
9eb17f6fe872c8a4328112bed2728c418fb700ba
l3kernel/l3deprecation.dtx | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/l3kernel/l3deprecation.dtx b/l3kernel/l3deprecation.dtx
index 6b37ed5..66fc912 100644
--- a/l3kernel/l3deprecation.dtx
+++ b/l3kernel/l3deprecation.dtx
@@ -530,17 +530,12 @@
\char_set_catcode_space:n { `\ }
\ProvidesExplFileAux
}
-\cs_set_protected:Npn \ProvidesExplFileAux #1#2#3#4
+\cs_set_protected:Npx \ProvidesExplFileAux #1#2#3#4
{
- \group_end:
-%<*initex>
- \iow_log:x { File:~#1~#2~v#3~#4 }
-%</initex>
-%<*package>
- \ProvidesFile {#1} [ #2~v#3~#4 ]
-%</package>
+ \cs_if_exist:NTF \ProvidesFile
+ { \exp_not:N \ProvidesFile {#1} [ #2~v#3~#4 ] }
+ { \iow_log:x { File:~#1~#2~v#3~#4 } }
}
-
\tex_input:D l3deprecation.def \scan_stop:
% \end{macrocode}
%
More information about the latex3-commits
mailing list