[latex3-commits] [latex3/latex3] main: Tidy up \l__keys_unused_clist usage (see #1315) (a7dde13e0)
github at latex-project.org
github at latex-project.org
Wed Nov 1 16:22:41 CET 2023
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/a7dde13e06feef3a17cac348d66e82cc7f3c8972
>---------------------------------------------------------------
commit a7dde13e06feef3a17cac348d66e82cc7f3c8972
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Nov 1 15:22:41 2023 +0000
Tidy up \l__keys_unused_clist usage (see #1315)
Either do it as a clist or for low-level use the kernel-level
functions.
>---------------------------------------------------------------
a7dde13e06feef3a17cac348d66e82cc7f3c8972
l3kernel/l3keys.dtx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index d5bdf4d96..de49cd60e 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -1662,7 +1662,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}
%
@@ -2827,7 +2827,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:Nn \l_@@_unused_clist {#1}
}
\cs_new_protected:Npn \keys_set_known:nn #1#2
{ \@@_set_known:nnn \q_@@_no_value {#1} {#2} }
@@ -2905,7 +2905,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:Nn \l_@@_unused_clist {#1}
}
\cs_new_protected:Npn \keys_set_filter:nnn #1#2#3
{\@@_set_filter:nnnn \q_@@_no_value {#1} {#2} {#3} }
More information about the latex3-commits
mailing list.