Pass the dir option on through org-export-as-string

* lisp/org-exp.el (org-export-string): Pass the dir option on through to
  any subsequent export functions.
This commit is contained in:
Eric Schulte 2012-12-28 08:20:56 -07:00 committed by Bastien Guerry
parent ffcd23cf30
commit 43a242c44d
1 changed files with 1 additions and 1 deletions

View File

@ -3047,7 +3047,7 @@ to the value of `temporary-file-directory'."
(eval ;; convert to fmt -- mimicking `org-run-like-in-org-mode'
(list 'let org-local-vars
(list (intern (format "org-export-as-%s" fmt))
nil nil nil ''string t))))
nil nil nil ''string t dir))))
(delete-file tmp-file))))
;;;###autoload