[latex3-commits] [l3svn] r6964 - Only produce deprecation warning once for each deprecated command
noreply at latex-project.org
noreply at latex-project.org
Mon Feb 20 03:59:42 CET 2017
Author: bruno
Date: 2017-02-20 03:59:41 +0100 (Mon, 20 Feb 2017)
New Revision: 6964
Modified:
trunk/l3kernel/l3file.dtx
trunk/l3kernel/l3sort.dtx
trunk/l3kernel/l3tl.dtx
Log:
Only produce deprecation warning once for each deprecated command
Modified: trunk/l3kernel/l3file.dtx
===================================================================
--- trunk/l3kernel/l3file.dtx 2017-02-20 02:29:02 UTC (rev 6963)
+++ trunk/l3kernel/l3file.dtx 2017-02-20 02:59:41 UTC (rev 6964)
@@ -2091,6 +2091,7 @@
{ 2017-12-31 }
{ \token_to_str:N \ior_get_str:NN }
{ \token_to_str:N \ior_str_get:NN }
+ \cs_gset_eq:NN \ior_get_str:NN \ior_str_get:NN
\ior_str_get:NN
}
% \end{macrocode}
Modified: trunk/l3kernel/l3sort.dtx
===================================================================
--- trunk/l3kernel/l3sort.dtx 2017-02-20 02:29:02 UTC (rev 6963)
+++ trunk/l3kernel/l3sort.dtx 2017-02-20 02:59:41 UTC (rev 6964)
@@ -1092,6 +1092,7 @@
{ 2018-12-31 }
{ \token_to_str:N \sort_ordered: }
{ \token_to_str:N \sort_return_same: }
+ \cs_gset_eq:NN \sort_ordered: \sort_return_same:
\sort_return_same:
}
\cs_new_protected:Npn \sort_reversed:
@@ -1100,6 +1101,7 @@
{ 2018-12-31 }
{ \token_to_str:N \sort_reversed: }
{ \token_to_str:N \sort_return_swapped: }
+ \cs_gset_eq:NN \sort_reversed: \sort_return_swapped:
\sort_return_swapped:
}
% \end{macrocode}
Modified: trunk/l3kernel/l3tl.dtx
===================================================================
--- trunk/l3kernel/l3tl.dtx 2017-02-20 02:29:02 UTC (rev 6963)
+++ trunk/l3kernel/l3tl.dtx 2017-02-20 02:59:41 UTC (rev 6964)
@@ -3002,6 +3002,7 @@
{ 2017-12-31 }
{ \token_to_str:N \tl_to_lowercase:n }
{ }
+ \cs_gset_eq:NN \tl_to_lowercase:n \tex_lowercase:D
\tex_lowercase:D {#1}
}
\cs_new_protected:Npn \tl_to_uppercase:n #1
@@ -3010,6 +3011,7 @@
{ 2017-12-31 }
{ \token_to_str:N \tl_to_uppercase:n }
{ }
+ \cs_gset_eq:NN \tl_to_uppercase:n \tex_uppercase:D
\tex_uppercase:D {#1}
}
% \end{macrocode}
More information about the latex3-commits
mailing list