[latex3-commits] [latex3/latex3] main: Add x-type variants for \keys_set_known:nn, etc. (f1a40c0ba)

github at latex-project.org github at latex-project.org
Fri Sep 8 22:49:13 CEST 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/f1a40c0ba28ee476e26afcb0415ad94ec73a143a

>---------------------------------------------------------------

commit f1a40c0ba28ee476e26afcb0415ad94ec73a143a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Sep 8 21:49:13 2023 +0100

    Add x-type variants for \keys_set_known:nn, etc.


>---------------------------------------------------------------

f1a40c0ba28ee476e26afcb0415ad94ec73a143a
 l3kernel/l3keys.dtx | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index 0686dcde8..fd0a8a22c 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -782,11 +782,14 @@
 % \begin{function}[added = 2011-08-23, updated = 2019-01-29]
 %   {
 %     \keys_set_known:nn, \keys_set_known:nV,
-%     \keys_set_known:nv, \keys_set_known:no,
+%     \keys_set_known:nv, \keys_set_known:nx,
+%     \keys_set_known:no,
 %     \keys_set_known:nnN, \keys_set_known:nVN,
-%     \keys_set_known:nvN, \keys_set_known:noN,
+%     \keys_set_known:nvN, \keys_set_known:nxN,
+%     \keys_set_known:noN,
 %     \keys_set_known:nnnN, \keys_set_known:nVnN,
-%     \keys_set_known:nvnN, \keys_set_known:nonN
+%     \keys_set_known:nvnN, \keys_set_known:nxnN,
+%     \keys_set_known:nonN
 %   }
 %   \begin{syntax}
 %     \cs{keys_set_known:nn} \Arg{module} \Arg{keyval list}
@@ -2775,18 +2778,21 @@
 % \begin{macro}
 %   {
 %     \keys_set_known:nnN, \keys_set_known:nVN,
-%     \keys_set_known:nvN, \keys_set_known:noN
+%     \keys_set_known:nvN, \keys_set_known:nxN,
+%     \keys_set_known:noN
 %   }
 % \begin{macro}
 %   {
 %     \keys_set_known:nnnN, \keys_set_known:nVnN,
-%     \keys_set_known:nvnN, \keys_set_known:nonN
+%     \keys_set_known:nvnN, \keys_set_known:nxnN,
+%     \keys_set_known:nonN
 %   }
 % \begin{macro}{\@@_set_known:nnnnN}
 % \begin{macro}
 %   {
 %     \keys_set_known:nn, \keys_set_known:nV,
-%     \keys_set_known:nv, \keys_set_known:no
+%     \keys_set_known:nv, \keys_set_known:nx,
+%     \keys_set_known:no
 %   }
 %  \begin{macro}{\@@_set_known:nnn}
 %   Setting known keys simply means setting the appropriate flag, then
@@ -2800,13 +2806,13 @@
     \exp_args:No \@@_set_known:nnnnN
       \l_@@_unused_clist \q_@@_no_value {#1} {#2} #3
   }
-\cs_generate_variant:Nn \keys_set_known:nnN { nV , nv , no }
+\cs_generate_variant:Nn \keys_set_known:nnN { nV , nv , nx , no }
 \cs_new_protected:Npn \keys_set_known:nnnN #1#2#3#4
   {
     \exp_args:No \@@_set_known:nnnnN
       \l_@@_unused_clist {#3} {#1} {#2} #4
   }
-\cs_generate_variant:Nn \keys_set_known:nnnN { nV , nv , no }
+\cs_generate_variant:Nn \keys_set_known:nnnN { nV , nv , nx , no }
 \cs_new_protected:Npn \@@_set_known:nnnnN #1#2#3#4#5
   {
     \clist_clear:N \l_@@_unused_clist
@@ -2816,7 +2822,7 @@
   }
 \cs_new_protected:Npn \keys_set_known:nn #1#2
   { \@@_set_known:nnn \q_@@_no_value {#1} {#2} }
-\cs_generate_variant:Nn \keys_set_known:nn { nV , nv , no }
+\cs_generate_variant:Nn \keys_set_known:nn { nV , nv , nx , no }
 \cs_new_protected:Npn \@@_set_known:nnn #1#2#3
   {
     \use:x





More information about the latex3-commits mailing list.