diff options
Diffstat (limited to 'tex/context/base/mkiv/node-nut.lua')
-rw-r--r-- | tex/context/base/mkiv/node-nut.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/node-nut.lua b/tex/context/base/mkiv/node-nut.lua index 55d292af7..bccf9e069 100644 --- a/tex/context/base/mkiv/node-nut.lua +++ b/tex/context/base/mkiv/node-nut.lua @@ -1024,3 +1024,15 @@ function nuts.copy_properties(source,target,what) return newprops -- for checking end +if LUATEXFUNCTIONALITY < 6894 then + + local sal = nuts.setattrlist + local cal = nuts.current_attr + + function nuts.setattrlist(n,a) + return sal(n,a == true and cal() or a) + end + + nuts.setattributelist = nuts.setattrlist + +end |