summaryrefslogtreecommitdiff
path: root/tex/context/base/luat-cod.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/luat-cod.mkiv')
-rw-r--r--tex/context/base/luat-cod.mkiv4
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/luat-cod.mkiv b/tex/context/base/luat-cod.mkiv
index 6605f8d83..6c9da7e51 100644
--- a/tex/context/base/luat-cod.mkiv
+++ b/tex/context/base/luat-cod.mkiv
@@ -13,6 +13,8 @@
% \writestatus{loading}{ConTeXt Lua Macros / Code}
+\unprotect
+
\long\def\lastexpanded{} % todo: elsewhere we use \@@expanded
\long\def\expanded#1{\long\xdef\lastexpanded{\noexpand#1}\lastexpanded}
@@ -65,4 +67,4 @@
% \everydump\expandafter{\the\everydump\ctxlua{lua.finalize()}}
-\endinput
+\protect \endinput