Skip to content

Commit

Permalink
Tidy up \l__keys_unused_clist usage (see #1315)
Browse files Browse the repository at this point in the history
Either do it as a clist or for low-level use the kernel-level
functions.
  • Loading branch information
josephwright committed Nov 1, 2023
1 parent fff0ea4 commit a7dde13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions l3kernel/l3keys.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
%
Expand Down Expand Up @@ -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} }
Expand Down Expand Up @@ -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} }
Expand Down

0 comments on commit a7dde13

Please sign in to comment.