diff options
Diffstat (limited to 'tex/context/base/mkxl/attr-ini.lmt')
-rw-r--r-- | tex/context/base/mkxl/attr-ini.lmt | 5 |
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 |