summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/mult-ini.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-01-29 16:15:09 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-01-29 16:15:09 +0100
commit452587cdeefbf6e3bf1eee91e4e976f1135b785f (patch)
treee52f05dfd327c3b31a1b0fb82545dbdec639d2e2 /tex/context/base/mkiv/mult-ini.lua
parent975f4f9f2d71d8021900955404f8b144ca6895f5 (diff)
downloadcontext-452587cdeefbf6e3bf1eee91e4e976f1135b785f.tar.gz
2016-01-28 22:37:00
Diffstat (limited to 'tex/context/base/mkiv/mult-ini.lua')
-rw-r--r--tex/context/base/mkiv/mult-ini.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/mult-ini.lua b/tex/context/base/mkiv/mult-ini.lua
index c51c4c3d4..7763994d6 100644
--- a/tex/context/base/mkiv/mult-ini.lua
+++ b/tex/context/base/mkiv/mult-ini.lua
@@ -9,6 +9,7 @@ if not modules then modules = { } end modules ['mult-ini'] = {
local format, gmatch, match = string.format, string.gmatch, string.match
local lpegmatch = lpeg.match
local serialize, concat = table.serialize, table.concat
+local rawget, type = rawget, type
local context = context
local commands = commands
@@ -156,7 +157,7 @@ function interfaces.getmessage(category,tag,default)
end
function interfaces.doifelsemessage(category,tag)
- return formats[fulltag(category,tag)]
+ return rawget(formats,fulltag(category,tag))
end
local splitter = lpeg.splitat(",")