summaryrefslogtreecommitdiff
path: root/tex/context/base/buff-ini.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-08-19 17:20:14 +0300
committerMarius <mariausol@gmail.com>2011-08-19 17:20:14 +0300
commitf4c1535ba67d2ee1d5c4ea60a825bb994b6d27c7 (patch)
tree2856c19842b4574165c9c42703b5ac340b1e3c23 /tex/context/base/buff-ini.lua
parenta2a3f1ffee783395eaf3c642dd3b6f6107568589 (diff)
downloadcontext-f4c1535ba67d2ee1d5c4ea60a825bb994b6d27c7.tar.gz
beta 2011.08.19 15:44
Diffstat (limited to 'tex/context/base/buff-ini.lua')
-rw-r--r--tex/context/base/buff-ini.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/buff-ini.lua b/tex/context/base/buff-ini.lua
index 4f2e27db0..0a52151d6 100644
--- a/tex/context/base/buff-ini.lua
+++ b/tex/context/base/buff-ini.lua
@@ -168,13 +168,13 @@ local function prepared(name,list) -- list is optional
list = name
end
if not name or name == "" then
- name = tex.jobname .. "-" .. list .. ".tmp"
+ name = list
end
local content = collectcontent(list,nil) or ""
if content == "" then
content = "empty buffer"
end
- return name, content
+ return tex.jobname .. "-" .. name .. ".tmp", content
end
local capsule = "\\starttext\n%s\n\\stoptext\n"