diff --git a/org-pandoc-import.el b/org-pandoc-import.el index bed9913..a98840f 100644 --- a/org-pandoc-import.el +++ b/org-pandoc-import.el @@ -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