aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorniszet <niszet0016@gmail.com>2019-06-23 18:59:57 +0900
committerAlbert Krewinkel <albert+github@zeitkraut.de>2019-06-23 14:03:14 +0200
commitb6c53553a929a8623ce56af961d28d5dcc4750d5 (patch)
treeea547624387b779d30377501275d1937e7ca39a0
parentecea807397ac777cf208d90b64e04208b0631c8b (diff)
downloadpandoc-b6c53553a929a8623ce56af961d28d5dcc4750d5.tar.gz
Update Lua function names in pandoc.system
Fixed function names of pandoc.system.get_working_directory() and pandoc.system.with_temporary_directory() which are written in the manual of lua filter.
-rw-r--r--src/Text/Pandoc/Lua/Module/System.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Lua/Module/System.hs b/src/Text/Pandoc/Lua/Module/System.hs
index 5149c2112..50db21244 100644
--- a/src/Text/Pandoc/Lua/Module/System.hs
+++ b/src/Text/Pandoc/Lua/Module/System.hs
@@ -27,8 +27,8 @@ pushModule = do
addField "arch" arch
addField "os" os
addFunction "environment" env
- addFunction "get_current_directory" getwd
+ addFunction "get_working_directory" getwd
addFunction "with_environment" with_env
- addFunction "with_temp_directory" with_tmpdir
+ addFunction "with_temporary_directory" with_tmpdir
addFunction "with_working_directory" with_wd
return 1