From a54a5447140eba0e9bf842578be2f7724a165a44 Mon Sep 17 00:00:00 2001
From: Elie Roux <elie.roux@telecom-bretagne.eu>
Date: Fri, 12 Apr 2013 18:14:29 +0200
Subject: Fixing something silly

This part seems highly untested and raw... in pcall you have to call a function, not a string..
---
 luatexbase-loader.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'luatexbase-loader.dtx')

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
-- 
cgit v1.2.3

