[latex3-commits] [git/LaTeX3-latex3-latex3] main: One more global (647806f9a)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed May 25 22:54:12 CEST 2022
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/647806f9ae960baa6b73e8f8818a105da9120373
>---------------------------------------------------------------
commit 647806f9ae960baa6b73e8f8818a105da9120373
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed May 25 21:54:12 2022 +0100
One more global
>---------------------------------------------------------------
647806f9ae960baa6b73e8f8818a105da9120373
l3packages/xtemplate/xtemplate.dtx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/l3packages/xtemplate/xtemplate.dtx b/l3packages/xtemplate/xtemplate.dtx
index 4ba0b4aa7..fe407442b 100644
--- a/l3packages/xtemplate/xtemplate.dtx
+++ b/l3packages/xtemplate/xtemplate.dtx
@@ -1694,7 +1694,9 @@
\keys_define:nx { template / #1 }
{
\l_@@_key_name_tl
- . \@@_map_var_type: _set:N = \exp_not:N #3
+ . \@@_map_var_type:
+ _ \str_if_eq:nnT {#1} { global } { g } set:N
+ = \exp_not:N #3
}
\prop_put:Non \l_@@_vars_prop
\l_@@_key_name_tl {#2#3}
More information about the latex3-commits
mailing list.