summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/buff-ini.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-01-17 19:15:07 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-01-17 19:15:07 +0100
commite200230205ec1297f8d3ade3d491585f85d87fff (patch)
tree3c1473953256ea8a7144846ff2a55c6ff45e801e /tex/context/base/mkiv/buff-ini.lua
parentb0a00d3509297a53ffb5618cee122e1b1d995f42 (diff)
downloadcontext-e200230205ec1297f8d3ade3d491585f85d87fff.tar.gz
2016-01-17 18:52:00
Diffstat (limited to 'tex/context/base/mkiv/buff-ini.lua')
-rw-r--r--tex/context/base/mkiv/buff-ini.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/buff-ini.lua b/tex/context/base/mkiv/buff-ini.lua
index 1caf3b752..c41c51607 100644
--- a/tex/context/base/mkiv/buff-ini.lua
+++ b/tex/context/base/mkiv/buff-ini.lua
@@ -589,3 +589,19 @@ implement {
actions = { collectcontent, context.printlines },
arguments = "string"
}
+
+local startbuffer = context.startbuffer
+local stopbuffer = context.stopbuffer
+
+local startcollecting = context.startcollecting
+local stopcollecting = context.stopcollecting
+
+function context.startbuffer(...)
+ startcollecting()
+ startbuffer(...)
+end
+
+function context.stopbuffer()
+ stopbuffer()
+ stopcollecting()
+end