From 8473a151c5685f8ceb515abf6000ab4fb7a3911c Mon Sep 17 00:00:00 2001
From: Albert Krewinkel <albert@zeitkraut.de>
Date: Fri, 1 Dec 2017 17:12:56 +0100
Subject: List.lua: add missing fixes as discussed in #4099

The changes were missing due to an error while using git.
---
 src/Text/Pandoc/Lua/PandocModule.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/Text/Pandoc/Lua/PandocModule.hs b/src/Text/Pandoc/Lua/PandocModule.hs
index ba3193211..4df01f019 100644
--- a/src/Text/Pandoc/Lua/PandocModule.hs
+++ b/src/Text/Pandoc/Lua/PandocModule.hs
@@ -91,7 +91,7 @@ loadListModule :: Maybe FilePath -> Lua ()
 loadListModule datadir = do
   Lua.getglobal' "package.loaded"
   pushListModule datadir
-  Lua.setfield (-2) "List"
+  Lua.setfield (-2) "pandoc.List"
   Lua.pop 1
 
 walkElement :: (ToLuaStack a, Walkable [Inline] a, Walkable [Block] a)
-- 
cgit v1.2.3