summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/font-prv.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/font-prv.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/font-prv.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/font-prv.lua b/Master/texmf-dist/tex/context/base/mkiv/font-prv.lua
index 20c06d2e54e..c3323ca743e 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/font-prv.lua
+++ b/Master/texmf-dist/tex/context/base/mkiv/font-prv.lua
@@ -6,7 +6,7 @@ if not modules then modules = { } end modules ['font-prv'] = {
license = "see context related readme files"
}
-local type = type
+local type, rawget = type, rawget
local formatters = string.formatters
local fonts = fonts
@@ -76,3 +76,7 @@ end
function helpers.privateslot(name)
return rawget(sharedprivates,name)
end
+
+function helpers.newprivateslot(name)
+ return sharedprivates[name]
+end