diff options
author | Hans Hagen <pragma@wxs.nl> | 2011-04-11 18:55:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2011-04-11 18:55:00 +0200 |
commit | cb890873f8b0389442bccc20e93f687ec2a1e462 (patch) | |
tree | 50301ac19d3f5f0ac77241b7869cf2d66d64528c /tex/context/base/data-tmp.lua | |
parent | 612f23ed1b01240fdc9ca5132dbd3164e96ed570 (diff) | |
download | context-cb890873f8b0389442bccc20e93f687ec2a1e462.tar.gz |
beta 2011.04.11 18:55
Diffstat (limited to 'tex/context/base/data-tmp.lua')
-rw-r--r-- | tex/context/base/data-tmp.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/data-tmp.lua b/tex/context/base/data-tmp.lua index 10cbe4486..55986d727 100644 --- a/tex/context/base/data-tmp.lua +++ b/tex/context/base/data-tmp.lua @@ -290,7 +290,7 @@ function caches.is_writable(filepath,filename) return file.is_writable(tmaname) end -local saveoptions = { name = "return", reduce = true } +local saveoptions = { reduce = true } function caches.savedata(filepath,filename,data,raw) local tmaname, tmcname = caches.setluanames(filepath,filename) @@ -300,9 +300,9 @@ function caches.savedata(filepath,filename,data,raw) end data.cache_uuid = os.uuid() if caches.direct then - file.savedata(tmaname,table.serialize(data,saveoptions)) + file.savedata(tmaname,table.serialize(data,true,saveoptions)) else - table.tofile(tmaname,data,saveoptions) + table.tofile(tmaname,data,true,saveoptions) end utilities.lua.compile(tmaname,tmcname) end |