diff --git a/tl.lua b/tl.lua index e8eb2ea8..13b1b22f 100644 --- a/tl.lua +++ b/tl.lua @@ -6947,6 +6947,10 @@ tl.search_module = function(module_name, search_dtl) if found then return found, fd end + found, fd, tried = search_for(module_name, ".lax.tl", path, tried) + if found then + return found, fd + end found, fd, tried = search_for(module_name, ".lua", path, tried) if found then return found, fd diff --git a/tl.tl b/tl.tl index d9a4f11e..eea87716 100644 --- a/tl.tl +++ b/tl.tl @@ -6947,6 +6947,10 @@ tl.search_module = function(module_name: string, search_dtl: boolean): string, F if found then return found, fd end + found, fd, tried = search_for(module_name, ".lax.tl", path, tried) + if found then + return found, fd + end found, fd, tried = search_for(module_name, ".lua", path, tried) if found then return found, fd