aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-08-10 23:45:28 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-08-10 23:46:59 -0700
commit0283616a4a4e5c9770a9bf2247efad96dcf984f8 (patch)
tree44d9b69041ebf3af4f3611c05bb0bacd077adf67 /src/Text/Pandoc/Writers
parent737d09e325a65ad37f97b03371d1999c0360dea0 (diff)
downloadpandoc-0283616a4a4e5c9770a9bf2247efad96dcf984f8.tar.gz
Remove writerUserDataDir from WriterOptions.
It is now carried in CommonState in PandocMonad instances. (And thus it can be used by readers too.)
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/Docx.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Docx.hs b/src/Text/Pandoc/Writers/Docx.hs
index f20edbfaa..166a09d4b 100644
--- a/src/Text/Pandoc/Writers/Docx.hs
+++ b/src/Text/Pandoc/Writers/Docx.hs
@@ -226,7 +226,6 @@ writeDocx :: (PandocMonad m)
-> Pandoc -- ^ Document to convert
-> m BL.ByteString
writeDocx opts doc@(Pandoc meta _) = do
- let datadir = writerUserDataDir opts
let doc' = walk fixDisplayMath $ doc
username <- P.lookupEnv "USERNAME"
utctime <- P.getCurrentTime