[latex3-commits] [git/latex3] master: Remove unused boolean, deprecate "aux" option (06b44d3)
Bruno Le Floch
bruno at le-floch.fr
Thu Nov 30 17:07:49 CET 2017
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/06b44d39fccd90f59da90924fff6ae13a8632313
>---------------------------------------------------------------
commit 06b44d39fccd90f59da90924fff6ae13a8632313
Author: Bruno Le Floch <bruno at le-floch.fr>
Date: Thu Nov 30 11:07:49 2017 -0500
Remove unused boolean, deprecate "aux" option
>---------------------------------------------------------------
06b44d39fccd90f59da90924fff6ae13a8632313
l3kernel/l3doc.dtx | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/l3kernel/l3doc.dtx b/l3kernel/l3doc.dtx
index db39ed4..ee838f0 100644
--- a/l3kernel/l3doc.dtx
+++ b/l3kernel/l3doc.dtx
@@ -653,7 +653,6 @@ and all files in that bundle must be distributed together.
% \begin{variable}
% {
% \l_@@_macro_internal_bool,
-% \l_@@_macro_aux_bool,
% \l_@@_macro_TF_bool,
% \l_@@_macro_pTF_bool,
% \l_@@_macro_noTF_bool,
@@ -668,7 +667,6 @@ and all files in that bundle must be distributed together.
% overriding module names by an empty name (meaning no module).
% \begin{macrocode}
\bool_new:N \l_@@_macro_internal_bool
-\bool_new:N \l_@@_macro_aux_bool
\bool_new:N \l_@@_macro_TF_bool
\bool_new:N \l_@@_macro_pTF_bool
\bool_new:N \l_@@_macro_noTF_bool
@@ -1315,6 +1313,8 @@ and all files in that bundle must be distributed together.
The~'syntax'~environment~should~only~be~used~once~in~
a~'function'~environment.
}
+\msg_new:nnn { l3doc } { deprecated-option }
+ { The~option~'#1'~has~been~deprecated~for~'#2'. }
\msg_new:nnn { l3doc } { foreign-internal }
{
A~control~sequence~of~the~form~'...__#1'~was~used.~
@@ -2668,7 +2668,10 @@ and all files in that bundle must be distributed together.
{
aux .value_forbidden:n = true ,
aux .code:n =
- { \bool_set_true:N \l_@@_macro_aux_bool } ,
+ {
+ \msg_warning:nnnn { l3doc } { deprecated-option }
+ { aux } { function/macro }
+ } ,
internal .value_forbidden:n = true ,
internal .code:n =
{ \bool_set_true:N \l_@@_macro_internal_bool } ,
More information about the latex3-commits
mailing list