From a206bf7f00e669c5b0530766f7666dd4addbec6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= <mpg@elzevir.fr>
Date: Thu, 4 Nov 2010 23:11:37 +0100
Subject: Don't use tex.error() after all.

---
 luatexbase-modutils.dtx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'luatexbase-modutils.dtx')

diff --git a/luatexbase-modutils.dtx b/luatexbase-modutils.dtx
index a21d3cf..054d80d 100644
--- a/luatexbase-modutils.dtx
+++ b/luatexbase-modutils.dtx
@@ -428,7 +428,9 @@ end
 %    Here are the reporting functions for the modules. For errors, Lua's
 %    |error()| is used. For now, the error reports look less good than with
 %    \tex's |\errmessage|, but hopefully it will be improved in future
-%    versions of \luatex. We could invoke |\errmessage| using |tex.sprint()|,
+%    versions of \luatex.\footnote{Actually, \luatex 0.61 and higher provides
+%    |tex.error| but it's less usefull, since only the current line in the
+%    TeX file is reported.} We could invoke |\errmessage| using |tex.sprint()|,
 %    but it may cause problems on the \tex end,\footnote{Eg, it will not work
 %    inside an \cs{edef}.} and moreover |error()| will still be used by Lua
 %    for other errors, so it makes messages more consistent.
-- 
cgit v1.2.3

