Files without a prefix are only loaded when you enable the required directive.
function commands.usemodules(prefix,askedname,truename)
[...]
if status then
-- ok, don't change
elseif find(truename,"%-") and usemodule(truename) then
-- assume a user namespace
report_modules("using user prefixed file %a",truename)
status = 1
- elseif not permit_unprefixed then
- -- forget about it
- elseif usemodule(truename) then
+ elseif permit_unprefixed and usemodule(truename) then
report_modules("using unprefixed file %a",truename)
status = 1
else
status = 0
end
[...]
end