summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/attr-ini.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-11-05 23:31:53 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-11-05 23:31:53 +0100
commitc8e4762108bce6354ba48c34fe0b4c6f2ff6dcee (patch)
treedd0e639413205fb4c1a3bd91e6bdc6c3dbb0f543 /tex/context/base/mkiv/attr-ini.mkxl
parent7d9b63e35fb270ed0a23d82672793984f219f086 (diff)
downloadcontext-c8e4762108bce6354ba48c34fe0b4c6f2ff6dcee.tar.gz
2020-11-05 23:00:00
Diffstat (limited to 'tex/context/base/mkiv/attr-ini.mkxl')
-rw-r--r--tex/context/base/mkiv/attr-ini.mkxl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/attr-ini.mkxl b/tex/context/base/mkiv/attr-ini.mkxl
index 14d77ec89..47e680c25 100644
--- a/tex/context/base/mkiv/attr-ini.mkxl
+++ b/tex/context/base/mkiv/attr-ini.mkxl
@@ -60,8 +60,8 @@
{\ifcsname\??attributeprefix#2\endcsname\else
\scratchcounter\clf_defineattribute{#2}{#1}\relax
%\writestatus\m!system{defining #1 attribute #2 with number \number\scratchcounter}%
- \global\expandafter\attributedef\csname\??attributeprefix#2\endcsname\scratchcounter % \foo = 123
- \global\expandafter\integerdef \csname\??attributeid #2\endcsname\scratchcounter % \attribute\foo = 123
+ \global\permanent\expandafter\attributedef\csname\??attributeprefix#2\endcsname\scratchcounter % \foo = 123
+ \global\permanent\expandafter\integerdef \csname\??attributeid #2\endcsname\scratchcounter % \attribute\foo = 123
% some attributes are always global
\doifelseinset\s!global{#3}%
{\xtoksapp\t_attr_list_global{\csname\??attributeprefix#2\endcsname\attributeunsetvalue}}% \c_attr_foo