diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex b/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex index 9978b7ca997..23d911d0fc0 100644 --- a/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex +++ b/Master/texmf-dist/tex/latex/l3kernel/expl3-code.tex @@ -70,7 +70,7 @@ %% and all files in that bundle must be distributed together. %% %% File: expl3.dtx -\def\ExplFileDate{2022-01-12}% +\def\ExplFileDate{2022-01-21}% \begingroup \def\next{\endgroup}% \expandafter\ifx\csname PackageError\endcsname\relax @@ -13278,6 +13278,11 @@ \l_keys_key_str } \__keys_default_set:n { true } + \cs_if_exist:cF { if#1 } + { + \cs:w newif \exp_after:wN \cs_end: + \cs:w if#1 \cs_end: + } } \cs_new_protected:Npn \__keys_meta_make:n #1 { @@ -13613,9 +13618,9 @@ \__keys_tmp:nn } \__keys_tmp:nn - { legacy_if:n } { if } - { tl_set:N } { store } - { usage:n } { usage } + { legacy_if_set:n } { if } + { tl_set:N } { store } + { usage:n } { usage } { \q_recursion_tail } { } \q_recursion_stop \group_end: @@ -28334,7 +28339,11 @@ \prg_new_conditional:Npnn \__color_if_defined:n #1 { T, F, TF } { \prop_if_exist:cTF { l__color_named_ #1 _prop } - \prg_return_true: + { + \prop_if_empty:cTF { l__color_named_ #1 _prop } + \prg_return_false: + \prg_return_true: + } \prg_return_false: } \cs_new:Npn \__color_model:N #1 { \exp_after:wN \use_i:nn #1 } @@ -28431,7 +28440,7 @@ } \cs_new_protected:Npn \__color_parse_aux:nN #1#2 { - \tl_if_exist:cTF { l__color_named_ #1 _prop } + \__color_if_defined:nTF {#1} { \__color_parse_set_eq:Nn #2 {#1} } { \__color_parse:Nw #2#1 ! \s__color_stop } \__color_check_model:N #2 |