summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/core-buf.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/core-buf.tex')
-rw-r--r--Master/texmf-dist/tex/context/base/core-buf.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/base/core-buf.tex b/Master/texmf-dist/tex/context/base/core-buf.tex
index ad98788a33c..46987f1f152 100644
--- a/Master/texmf-dist/tex/context/base/core-buf.tex
+++ b/Master/texmf-dist/tex/context/base/core-buf.tex
@@ -227,6 +227,13 @@
\def\stopbufferparagraph{\dostopbufferparagraph{#1}\egroup\egroup}%
\setbox\scratchbox\vbox\bgroup\dostartbufferparagraph{#1}}
+% only mkiv
+
+\beginLUATEX
+ \def\savebuffer{\dosingleempty\dosavebuffer}
+ \def\dosavebuffer[#1]{\ctxlua{buffers.save("#1")}}
+\endLUATEX
+
% plugins
\loadmarkfile{core-buf}