[latex3-commits] [git/LaTeX3-latex3-latex3] main: Set only known keys in \SetTemplateKeys (be8d1131d)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Jan 31 15:08:09 CET 2023


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

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

commit be8d1131dfb13257616b16612b3c7e9c4fae3d94
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Jan 31 14:08:09 2023 +0000

    Set only known keys in \SetTemplateKeys


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

be8d1131dfb13257616b16612b3c7e9c4fae3d94
 l3experimental/CHANGELOG.md        | 3 +++
 l3packages/xtemplate/xtemplate.dtx | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/l3experimental/CHANGELOG.md b/l3experimental/CHANGELOG.md
index d147f91b3..2b4fd0905 100644
--- a/l3experimental/CHANGELOG.md
+++ b/l3experimental/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
+### Changes
+- Set only known keys in `\SetTemplateKeys`
+
 ## [2023-01-24]
 
 ### Changed
diff --git a/l3packages/xtemplate/xtemplate.dtx b/l3packages/xtemplate/xtemplate.dtx
index eb9ae86e9..6f8e67ab5 100644
--- a/l3packages/xtemplate/xtemplate.dtx
+++ b/l3packages/xtemplate/xtemplate.dtx
@@ -2888,7 +2888,7 @@
 %   A friendly wrapper
 %    \begin{macrocode}
 \cs_new_protected:Npn \SetTemplateKeys #1#2#3
-  { \keys_set:nn { template / #1 / #2 } {#3} }
+  { \keys_set_known:nnN { template / #1 / #2 } {#3} \l_@@_tmp_clist }
 %    \end{macrocode}
 % \end{macro}
 %





More information about the latex3-commits mailing list.