diff options
author | Marius <mariausol@gmail.com> | 2011-02-25 23:40:24 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-02-25 23:40:24 +0200 |
commit | 2a9554684f61df8db63dec6d4e874f49b25a212b (patch) | |
tree | fcfd079187ab1f1969351bcafffdfed837b43b33 /tex/context/base/luat-run.lua | |
parent | 3880c6aa8cef3b379b06777c09f9ce3e7e61f493 (diff) | |
download | context-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.lua | 6 |
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 |