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...
|
||||
(point-max)))
|
||||
(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))
|
||||
;; because we probably don't want to skip part of our mail
|
||||
(org-export-skip-text-before-1st-heading nil)
|
||||
|
|
Loading…
Reference in New Issue