mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-22 10:18:32 +00:00
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
This commit is contained in:
commit
889a8d8ede
|
@ -188,9 +188,12 @@ TMP-FILE during export."
|
|||
(insert org-mime-default-header)
|
||||
(insert body)
|
||||
(write-file tmp-file)
|
||||
(org-load-modules-maybe)
|
||||
(unless org-local-vars
|
||||
(setq org-local-vars (org-get-local-variables)))
|
||||
(substring
|
||||
(eval ;; convert to fmt -- mimicing `org-run-like-in-org-mode'
|
||||
(list 'let org-local-vars
|
||||
(list 'let org-local-vars
|
||||
(list (intern (concat "org-export-as-" fmt))
|
||||
nil nil nil ''string t)))
|
||||
(if (string= fmt "org") (length org-mime-default-header) 0)))))
|
||||
|
|
Loading…
Reference in a new issue