summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/attr-ini.lmt
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-01-06 20:05:31 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-01-06 20:05:31 +0100
commit40c16033d164a969e06aacc991371592731baf2a (patch)
treed74d6ccd0713b41105b83b1410d27915c7b68649 /tex/context/base/mkxl/attr-ini.lmt
parent9b1c3470a7a222ef9ae20106d750c4a0127819a7 (diff)
downloadcontext-40c16033d164a969e06aacc991371592731baf2a.tar.gz
2022-01-06 19:50:00
Diffstat (limited to 'tex/context/base/mkxl/attr-ini.lmt')
-rw-r--r--tex/context/base/mkxl/attr-ini.lmt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/attr-ini.lmt b/tex/context/base/mkxl/attr-ini.lmt
index ca21365cb..2a4805a01 100644
--- a/tex/context/base/mkxl/attr-ini.lmt
+++ b/tex/context/base/mkxl/attr-ini.lmt
@@ -253,6 +253,11 @@ function attributes.hasvalues(index)
return list and next(list) and true or false
end
+function attributes.getvalues(index)
+ local list = values[index]
+ return list and next(list) and list or nil
+end
+
function attributes.setcleaner(index,cleaner)
cleaners[index] = cleaner
end