summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--luatexbase-mcb.dtx3
1 files changed, 1 insertions, 2 deletions
diff --git a/luatexbase-mcb.dtx b/luatexbase-mcb.dtx
index 4bbbcb7..bace1f9 100644
--- a/luatexbase-mcb.dtx
+++ b/luatexbase-mcb.dtx
@@ -592,6 +592,7 @@ local function datahandler (name)
for _, f in ipairs(callbacklist[name]) do
data = f.func(data, ...)
end
+ return data
end
end
% \end{macrocode}
@@ -1017,12 +1018,10 @@ end
% \begin{macrocode}
function add_process_input_buffer()
luatexbase.add_to_callback('process_input_buffer', function(buffer)
- texio.write_nl("I'm a dummy process_input_buffer")
return buffer.."\\msg{dummy}"
end,
'dummy process_input_buffer')
luatexbase.add_to_callback('process_input_buffer', function(buffer)
- texio.write_nl("I'm an other dummy process_input_buffer")
return buffer.."\\msg{otherdummy}"
end,
'other dummy process_input_buffer')