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.
commitb6c53553a929a8623ce56af961d28d5dcc4750d5
authorniszet <niszet0016@gmail.com>
dateSun 23 Jun 2019, 18:59 (7 years ago)
parentecea807
src/Text/Pandoc/Lua/Module/System.hs+2−2
@@ -27,8 +27,8 @@ pushModule = do
2727 addField "arch" arch
2828 addField "os" os
2929 addFunction "environment" env
30− addFunction "get_current_directory" getwd
30+ addFunction "get_working_directory" getwd
3131 addFunction "with_environment" with_env
32− addFunction "with_temp_directory" with_tmpdir
32+ addFunction "with_temporary_directory" with_tmpdir
3333 addFunction "with_working_directory" with_wd
3434 return 1