]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-mime-attachment-dirs-alist): Use temporary-file-directory.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 7 Feb 2009 21:29:17 +0000 (21:29 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 7 Feb 2009 21:29:17 +0000 (21:29 +0000)
lisp/mail/rmailmm.el

index 894faf2b3291265ca541817a4a60da1d6f986299..6f63c90af72bdfeaf4fc2095e36d08a8c65a40ca 100644 (file)
@@ -59,9 +59,9 @@ job is done."
   :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