summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-imp-reorder.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/font-imp-reorder.lua')
-rw-r--r--tex/context/base/mkiv/font-imp-reorder.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/font-imp-reorder.lua b/tex/context/base/mkiv/font-imp-reorder.lua
index 250aa47c6..b2dec781c 100644
--- a/tex/context/base/mkiv/font-imp-reorder.lua
+++ b/tex/context/base/mkiv/font-imp-reorder.lua
@@ -6,6 +6,8 @@ if not modules then modules = { } end modules ['font-imp-reorder'] = {
license = "see context related readme files"
}
+if not context then return end
+
local next = next
local find = string.find
local sortedhash, sortedkeys, sort = table.sortedhash, table.sortedkeys, table.sort