From: Chong Yidong Date: Sat, 7 Feb 2009 21:29:17 +0000 (+0000) Subject: (rmail-mime-attachment-dirs-alist): Use temporary-file-directory. X-Git-Tag: emacs-pretest-23.0.91~341 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f265b4dedcdeee15291dffc4de284ec8c0d5398e;p=emacs.git (rmail-mime-attachment-dirs-alist): Use temporary-file-directory. --- diff --git a/lisp/mail/rmailmm.el b/lisp/mail/rmailmm.el index 894faf2b329..6f63c90af72 100644 --- a/lisp/mail/rmailmm.el +++ b/lisp/mail/rmailmm.el @@ -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