summaryrefslogtreecommitdiff
path: root/luatexbase-modutils.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'luatexbase-modutils.dtx')
-rw-r--r--luatexbase-modutils.dtx6
1 files changed, 3 insertions, 3 deletions
diff --git a/luatexbase-modutils.dtx b/luatexbase-modutils.dtx
index ae228b4..6f500da 100644
--- a/luatexbase-modutils.dtx
+++ b/luatexbase-modutils.dtx
@@ -378,10 +378,10 @@ See the aforementioned source file(s) for copyright and licensing information.
% supporting Lua module and make sure |luaescapestring| is available.
%
% \begin{macrocode}
-\ifx\csname\RequirePackage
- \RequirePackage{luatexbase-loader}
-\else
+\expandafter\ifx\csname RequirePackage\endcsname\relax
\input luatexbase-loader.sty
+\else
+ \RequirePackage{luatexbase-loader}
\fi
\luatexbase@directlua{require('luatexbase.modutils')}
\luatexbase@ensure@primitive{luaescapestring}