diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-07-22 22:33:21 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-07-22 22:33:21 +0200 |
commit | dd7c4b1a54bfc5e358eb9f766c0b865fc47cbe46 (patch) | |
tree | 2e8888da6188eb742a98c3c05a26e2b75b198e62 /tex/context/base/mkiv/buff-ini.lua | |
parent | 50928735daee408de73737b055b2535d96424824 (diff) | |
download | context-dd7c4b1a54bfc5e358eb9f766c0b865fc47cbe46.tar.gz |
2016-07-22 20:13:00
Diffstat (limited to 'tex/context/base/mkiv/buff-ini.lua')
-rw-r--r-- | tex/context/base/mkiv/buff-ini.lua | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/tex/context/base/mkiv/buff-ini.lua b/tex/context/base/mkiv/buff-ini.lua index 80272c1bf..876a6944e 100644 --- a/tex/context/base/mkiv/buff-ini.lua +++ b/tex/context/base/mkiv/buff-ini.lua @@ -591,18 +591,25 @@ implement { arguments = "string" } -local startbuffer = context.startbuffer -local stopbuffer = context.stopbuffer +do -local startcollecting = context.startcollecting -local stopcollecting = context.stopcollecting + local context = context + local ctxcore = context.core -function context.startbuffer(...) - startcollecting() - startbuffer(...) -end + local startbuffer = ctxcore.startbuffer + local stopbuffer = ctxcore.stopbuffer -function context.stopbuffer() - stopbuffer() - stopcollecting() -end + local startcollecting = context.startcollecting + local stopcollecting = context.stopcollecting + + function ctxcore.startbuffer(...) + startcollecting() + startbuffer(...) + end + + function ctxcore.stopbuffer() + stopbuffer() + stopcollecting() + end + + end |