diff lisp/mail/rmailmm.el @ 101890:4f858364bb26

(rmail-mime-attachment-dirs-alist): Use temporary-file-directory.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 07 Feb 2009 21:29:17 +0000
parents 50eed64d8f54
children 562b3a7e1016
line wrap: on
line diff
--- a/lisp/mail/rmailmm.el	Sat Feb 07 21:29:02 2009 +0000
+++ b/lisp/mail/rmailmm.el	Sat Feb 07 21:29:17 2009 +0000
@@ -59,9 +59,9 @@
   :group 'mime)
 
 (defcustom rmail-mime-attachment-dirs-alist
-  '(("text/.*" "~/Documents")
+  `(("text/.*" "~/Documents")
     ("image/.*" "~/Pictures")
-    (".*" "~/Desktop" "~" "/tmp"))
+    (".*" "~/Desktop" "~" ,temporary-file-directory))
   "Default directories to save attachments into.
 Each media type may have it's own list of directories in order of
 preference.  The first existing directory in the list will be