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