changeset 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 adecc9a8b8fd
children e2956fc8fb2a
files lisp/mail/rmailmm.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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