summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2010-05-04 09:49:07 -0600
committerEric Schulte <schulte.eric@gmail.com>2010-05-04 09:49:07 -0600
commita16e887ffff81c3eec610c7b69b6f7389a0d858b (patch)
tree8c2e61a2cbebed9e582978d64fb74172cb494039
parenta3cc050a9675127f4f9fb85ba30cb5c0b4417cf8 (diff)
downloadorg-mode-a16e887ffff81c3eec610c7b69b6f7389a0d858b.tar.gz
org-mime: now using `temporary-file-directory' instead of "/tmp" -- thanks to Uday S Reddy for catching this
-rw-r--r--contrib/lisp/org-mime.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/org-mime.el b/contrib/lisp/org-mime.el
index c74f733..43ad7f5 100644
--- a/contrib/lisp/org-mime.el
+++ b/contrib/lisp/org-mime.el
@@ -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)