From e853a2d8be8fc29f524a8a77edf216cb93c80606 Mon Sep 17 00:00:00 2001
From: Hans Hagen <pragma@wxs.nl>
Date: Wed, 22 Jul 2020 21:49:53 +0200
Subject: 2020-07-22 21:18:00

---
 doc/context/sources/general/manuals/luametatex/luametatex-tex.tex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'doc/context/sources/general/manuals/luametatex/luametatex-tex.tex')

diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex b/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex
index af058197b..648ee5eef 100644
--- a/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex
+++ b/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex
@@ -1539,14 +1539,15 @@ an error:
 This function has two optional arguments in case a token register is passed:
 
 \startfunctioncall
-tex.runtoks(<token register>,force,grouped)
+tex.runtoks(<token register>,force,grouped,obeymode)
 \stopfunctioncall
 
 Inside for instance an \type {\edef} the \type {runtoks} function behaves (at
 least tries to) like it were an \type {\the}. This prevents unwanted side
 effects: normally in such an definition tokens remain tokens and (for instance)
 characters don't become nodes. With the second argument you can force the local
-main loop, no matter what. The third argument adds a level of grouping.
+main loop, no matter what. The third argument adds a level of grouping. The last
+argument tells the scanner to stay in the current mode.
 
 You can quit the local loop with \type {\endlocalcontrol} or from the \LUA\ end
 with \type {tex.quittoks}. In that case you end one level up! Of course in the
-- 
cgit v1.2.3

