diff options
Diffstat (limited to 'tex/context/base/luat-cbk.lua')
-rw-r--r-- | tex/context/base/luat-cbk.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/luat-cbk.lua b/tex/context/base/luat-cbk.lua index c4f0aba02..6c37307ca 100644 --- a/tex/context/base/luat-cbk.lua +++ b/tex/context/base/luat-cbk.lua @@ -137,7 +137,7 @@ function callbacks.register(name,func,freeze) end return frozen_callback(name) elseif freeze then - frozen[name] = (type(freeze) == "string" and freeze) or "registered" + frozen[name] = type(freeze) == "string" and freeze or "registered" end if delayed[name] and environment.initex then return nil @@ -154,7 +154,7 @@ function callback.register(name,func) -- original return frozen_callback(name) end -function callbacks.push(name, func) +function callbacks.push(name,func) if not frozen[name] then local sn = stack[name] if not sn then |