mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-07-20 11:56:29 +00:00
org-mime: now using `temporary-file-directory' instead of "/tmp" -- thanks to Uday S Reddy for catching this
This commit is contained in:
parent
a3cc050a96
commit
a16e887fff
|
@ -166,7 +166,7 @@ export that region, otherwise export the entire body."
|
||||||
;; TODO: should catch signature...
|
;; TODO: should catch signature...
|
||||||
(point-max)))
|
(point-max)))
|
||||||
(raw-body (buffer-substring html-start html-end))
|
(raw-body (buffer-substring html-start html-end))
|
||||||
(tmp-file (make-temp-name (expand-file-name "mail" "/tmp/")))
|
(tmp-file (make-temp-name (expand-file-name "mail" temporary-file-directory)))
|
||||||
(body (org-mime-org-export "org" raw-body tmp-file))
|
(body (org-mime-org-export "org" raw-body tmp-file))
|
||||||
;; because we probably don't want to skip part of our mail
|
;; because we probably don't want to skip part of our mail
|
||||||
(org-export-skip-text-before-1st-heading nil)
|
(org-export-skip-text-before-1st-heading nil)
|
||||||
|
|
Loading…
Reference in a new issue