summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-12 18:14:29 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-12 18:14:29 +0200
commita54a5447140eba0e9bf842578be2f7724a165a44 (patch)
treefadd57e8c5222b1a93b24af9fba01452ddbe65b3
parent070f0ab10bddad9db9128c72d4c13c1d93a17802 (diff)
downloadluatexbase-a54a5447140eba0e9bf842578be2f7724a165a44.tar.gz
Fixing something silly
This part seems highly untested and raw... in pcall you have to call a function, not a string..
-rw-r--r--luatexbase-loader.dtx2
1 files changed, 1 insertions, 1 deletions
diff --git a/luatexbase-loader.dtx b/luatexbase-loader.dtx
index b7d3a5f..2635c54 100644
--- a/luatexbase-loader.dtx
+++ b/luatexbase-loader.dtx
@@ -353,7 +353,7 @@ end
%
% \begin{macrocode}
local find_file_lua
-if pcall('kpse.find_file', 'dummy', 'lua') then
+if pcall(kpse.find_file, 'dummy', 'lua') then
find_file_lua = function (name)
return kpse.find_file(name, 'lua') or find_file_lua_emul(name)
end