[latex3-commits] [git/LaTeX3-latex3-latex3] master: Store unknown keys when requested in all paths (2a20c77)
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon Mar 4 15:02:35 CET 2019
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/2a20c779e37d800d9d320f579dcd2e92b40a105d
>---------------------------------------------------------------
commit 2a20c779e37d800d9d320f579dcd2e92b40a105d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Mar 4 14:02:35 2019 +0000
Store unknown keys when requested in all paths
>---------------------------------------------------------------
2a20c779e37d800d9d320f579dcd2e92b40a105d
l3kernel/l3keys.dtx | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index 085aaaa..bc9da6d 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -2481,11 +2481,7 @@
\cs_if_exist:cTF
{ \c_@@_inherit_root_tl \@@_parent:o \l_keys_path_tl }
{ \@@_execute_inherit: }
- {
- \bool_if:NTF \l_@@_only_known_bool
- { \@@_store_unused: }
- { \@@_execute_unknown: }
- }
+ { \@@_execute_unknown: }
}
}
% \end{macrocode}
@@ -2512,15 +2508,19 @@
}
\cs_new_protected:Npn \@@_execute_unknown:
{
- \cs_if_exist:cTF
- { \c_@@_code_root_tl \l_@@_module_tl / unknown }
- {
- \cs:w \c_@@_code_root_tl \l_@@_module_tl / unknown
- \exp_after:wN \cs_end: \exp_after:wN { \l_keys_value_tl }
- }
+ \bool_if:NTF \l_@@_only_known_bool
+ { \@@_store_unused: }
{
- \__kernel_msg_error:nnxx { kernel } { key-unknown }
- { \l_keys_path_tl } { \l_@@_module_tl }
+ \cs_if_exist:cTF
+ { \c_@@_code_root_tl \l_@@_module_tl / unknown }
+ {
+ \cs:w \c_@@_code_root_tl \l_@@_module_tl / unknown
+ \exp_after:wN \cs_end: \exp_after:wN { \l_keys_value_tl }
+ }
+ {
+ \__kernel_msg_error:nnxx { kernel } { key-unknown }
+ { \l_keys_path_tl } { \l_@@_module_tl }
+ }
}
}
\cs_new:Npn \@@_execute:nn #1#2
More information about the latex3-commits
mailing list