Call pandoc in the in-file directory

This commit is contained in:
TEC 2022-07-18 02:05:45 +08:00
parent 84924edff4
commit d3cd2b0519
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 1 additions and 0 deletions

View File

@ -252,6 +252,7 @@ The value returned is used as the new IN-FILE."
(if (functionp org-pandoc-import-buffer-name)
(funcall org-pandoc-import-buffer-name in-file)
org-pandoc-import-buffer-name)))
(default-directory (file-name-directory in-file))
(process
(if syncronous-p
(apply #'call-process