diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-02-16 09:55:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-02-16 09:55:00 +0100 |
commit | d727c799380434800e74e7f7c2c8b7dd264bf6c1 (patch) | |
tree | 0d3ad06b3c42a41acbdb578245660d293d292b0a /tex/context/base/strc-lst.lua | |
parent | a35b193e7e4396d213bc1283f94ba41786fd87fe (diff) | |
download | context-d727c799380434800e74e7f7c2c8b7dd264bf6c1.tar.gz |
beta 2012.02.16 09:55
Diffstat (limited to 'tex/context/base/strc-lst.lua')
-rw-r--r-- | tex/context/base/strc-lst.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/strc-lst.lua b/tex/context/base/strc-lst.lua index 734ca3f7e..25d046f4f 100644 --- a/tex/context/base/strc-lst.lua +++ b/tex/context/base/strc-lst.lua @@ -116,6 +116,10 @@ end job.register('structures.lists.collected', tobesaved, initializer) function lists.addto(t) + local u = t.userdata + if u and type(u) == "string" then + t.userdata = helpers.touserdata(u) -- nicer at the tex end + end local m = t.metadata local r = t.references local i = (r and r.internal) or 0 -- brrr @@ -131,10 +135,6 @@ function lists.addto(t) if setcomponent then setcomponent(t) -- might move to the tex end end - local u = t.userdata - if u and type(u) == "string" then - t.userdata = helpers.touserdata(u) -- nicer at the tex end - end return p end |