summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3kernel/l3keys.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3keys.dtx')
-rw-r--r--macros/latex/contrib/l3kernel/l3keys.dtx19
1 files changed, 14 insertions, 5 deletions
diff --git a/macros/latex/contrib/l3kernel/l3keys.dtx b/macros/latex/contrib/l3kernel/l3keys.dtx
index d5bdf4d969..7dc05afee0 100644
--- a/macros/latex/contrib/l3kernel/l3keys.dtx
+++ b/macros/latex/contrib/l3kernel/l3keys.dtx
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2023-11-01}
+% \date{Released 2023-11-09}
%
% \maketitle
%
@@ -1578,6 +1578,13 @@
% \end{macrocode}
% \end{variable}
%
+% \begin{variable}{\l_@@_inherit_clist}
+% For normalisation.
+% \begin{macrocode}
+\clist_new:N \l_@@_inherit_clist
+% \end{macrocode}
+% \end{variable}
+%
% \begin{variable}{\l_keys_key_str, \l_keys_key_tl}
% The name of a key itself: needed when setting keys. The |tl| version
% is deprecated but has to be handled manually.
@@ -1662,7 +1669,7 @@
% \begin{variable}{\l_@@_unused_clist}
% Used when setting only some keys to store those left over.
% \begin{macrocode}
-\tl_new:N \l_@@_unused_clist
+\clist_new:N \l_@@_unused_clist
% \end{macrocode}
% \end{variable}
%
@@ -2080,7 +2087,9 @@
\cs_new_protected:Npn \@@_inherit:n #1
{
\@@_undefine:
- \cs_set_nopar:cpn { \c_@@_inherit_root_str \l_keys_path_str } {#1}
+ \clist_set:Nn \l_@@_inherit_clist {#1}
+ \cs_set_eq:cN { \c_@@_inherit_root_str \l_keys_path_str }
+ \l_@@_inherit_clist
}
% \end{macrocode}
% \end{macro}
@@ -2827,7 +2836,7 @@
\clist_clear:N \l_@@_unused_clist
\@@_set_known:nnn {#2} {#3} {#4}
\__kernel_tl_set:Ne #5 { \exp_not:o \l_@@_unused_clist }
- \tl_set:Nn \l_@@_unused_clist {#1}
+ \__kernel_tl_set:Ne \l_@@_unused_clist { \exp_not:n {#1} }
}
\cs_new_protected:Npn \keys_set_known:nn #1#2
{ \@@_set_known:nnn \q_@@_no_value {#1} {#2} }
@@ -2905,7 +2914,7 @@
\clist_clear:N \l_@@_unused_clist
\@@_set_filter:nnnn {#2} {#3} {#4} {#5}
\__kernel_tl_set:Ne #6 { \exp_not:o \l_@@_unused_clist }
- \tl_set:Nn \l_@@_unused_clist {#1}
+ \__kernel_tl_set:Ne \l_@@_unused_clist { \exp_not:n {#1} }
}
\cs_new_protected:Npn \keys_set_filter:nnn #1#2#3
{\@@_set_filter:nnnn \q_@@_no_value {#1} {#2} {#3} }