summaryrefslogtreecommitdiff
path: root/tex/context/base/luat-run.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-02-25 23:40:24 +0200
committerMarius <mariausol@gmail.com>2011-02-25 23:40:24 +0200
commit2a9554684f61df8db63dec6d4e874f49b25a212b (patch)
treefcfd079187ab1f1969351bcafffdfed837b43b33 /tex/context/base/luat-run.lua
parent3880c6aa8cef3b379b06777c09f9ce3e7e61f493 (diff)
downloadcontext-2a9554684f61df8db63dec6d4e874f49b25a212b.tar.gz
beta 2011.02.25 22:03
Diffstat (limited to 'tex/context/base/luat-run.lua')
-rw-r--r--tex/context/base/luat-run.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/luat-run.lua b/tex/context/base/luat-run.lua
index 65ac641c9..51856640d 100644
--- a/tex/context/base/luat-run.lua
+++ b/tex/context/base/luat-run.lua
@@ -102,8 +102,10 @@ callbacks.register("pre_dump", pre_dump_actions, "lua related fi
local tempfiles = { }
-function luatex.registertempfile(name)
- name = name .. ".mkiv-tmp" -- maybe just .tmp
+function luatex.registertempfile(name,extrasuffix)
+ if extrasuffix then
+ name = name .. ".mkiv-tmp" -- maybe just .tmp
+ end
if trace_temp_files and not tempfiles[name] then
report_tempfiles("registering temporary file: %s",name)
end