aboutsummaryrefslogtreecommitdiff
path: root/pandoc-lua-engine/src/Text/Pandoc/Lua/Reader.hs
diff options
context:
space:
mode:
Diffstat (limited to 'pandoc-lua-engine/src/Text/Pandoc/Lua/Reader.hs')
-rw-r--r--pandoc-lua-engine/src/Text/Pandoc/Lua/Reader.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc-lua-engine/src/Text/Pandoc/Lua/Reader.hs b/pandoc-lua-engine/src/Text/Pandoc/Lua/Reader.hs
index 2c2dd369b..8e411aeb2 100644
--- a/pandoc-lua-engine/src/Text/Pandoc/Lua/Reader.hs
+++ b/pandoc-lua-engine/src/Text/Pandoc/Lua/Reader.hs
@@ -48,7 +48,7 @@ readCustom luaFile = do
when (stat /= Lua.OK)
Lua.throwErrorAsException
- extsConf <- getglobal "reader_extensions" >>= \case
+ extsConf <- getglobal "Extensions" >>= \case
TypeNil -> pure $ ExtensionsConfig mempty mempty
_ -> forcePeek $ peekExtensionsConfig top `lastly` pop 1