summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/file-res.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/file-res.lua')
-rw-r--r--tex/context/base/mkiv/file-res.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/file-res.lua b/tex/context/base/mkiv/file-res.lua
index 44117ed46..cf76d2d8b 100644
--- a/tex/context/base/mkiv/file-res.lua
+++ b/tex/context/base/mkiv/file-res.lua
@@ -6,6 +6,7 @@ if not modules then modules = { } end modules ['file-res'] = {
license = "see context related readme files"
}
+local tonumber = tonumber
local format, find = string.format, string.find
local isfile = lfs.isfile
local is_qualified_path = file.is_qualified_path
@@ -78,7 +79,7 @@ local function readfilename(specification,backtrack,treetoo)
end
end
if not fnd then
- local paths = resolvers.instance.extra_paths
+ local paths = resolvers.getextrapaths()
if paths then
for i=1,#paths do
for i=1,#names do