summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luaotfload.sty8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/luaotfload.sty b/src/luaotfload.sty
index 1445a28..ba61428 100644
--- a/src/luaotfload.sty
+++ b/src/luaotfload.sty
@@ -33,7 +33,6 @@
%%
\csname ifluaotfloadloaded\endcsname
\let\ifluaotfloadloaded\endinput
-\let\ifluaotfloadloaded\endinput
\ifx\newluafunction\@undefined
\input ltluatex
\fi
@@ -41,6 +40,9 @@
\ProvidesPackage{luaotfload}%
%% FIXME The date is meaningless, we need to find a way to
%% use the git revision instead.
- [2014/08/10 v2.5-4 OpenType layout system]
+ [2015/03/29 v2.6 OpenType layout system]
\fi
-\directlua{require('luaotfload-main')}
+\directlua{
+require('luaotfload-main')
+local _void = luaotfload.main ()
+}