summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/luat-cbk.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-03-12 17:15:10 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-03-12 17:15:10 +0100
commit4b6314243d4bc44fa3c94f569264fdffd5405e90 (patch)
treea50e4f3309d40b2709618a00311934c55258cfbc /tex/context/base/mkiv/luat-cbk.lua
parent4a28e5cee346738f2f9be479090c3657a87b7206 (diff)
downloadcontext-4b6314243d4bc44fa3c94f569264fdffd5405e90.tar.gz
2016-03-12 16:45:00
Diffstat (limited to 'tex/context/base/mkiv/luat-cbk.lua')
-rw-r--r--tex/context/base/mkiv/luat-cbk.lua8
1 files changed, 2 insertions, 6 deletions
diff --git a/tex/context/base/mkiv/luat-cbk.lua b/tex/context/base/mkiv/luat-cbk.lua
index 5e2d0e0cb..2c3bede72 100644
--- a/tex/context/base/mkiv/luat-cbk.lua
+++ b/tex/context/base/mkiv/luat-cbk.lua
@@ -137,12 +137,8 @@ local function register_usercall(what,name,func)
end
end
-local function frozen_message(what,name)
- report_callbacks("not %s frozen %a",what,name)
-end
-
local function frozen_callback(name)
- frozen_message("registering",name)
+ report_callbacks("not %s frozen %a","registering",name)
return nil, format("callback '%s' is frozen",name) -- no formatter yet
end
@@ -228,7 +224,7 @@ function callbacks.push(name,func)
register_callback(name,func)
end
else
- frozen_message("pushing",name)
+ report_callbacks("not %s frozen %a","pushing",name)
end
end