* mu4e: allow setting a function for mu4e-attachment-dir

This commit is contained in:
djcb
2012-10-03 12:53:16 +03:00
parent 6f3c738076
commit f9c9e790a6
3 changed files with 36 additions and 15 deletions

View File

@ -73,7 +73,10 @@ mu4e."
:safe 'integerp)
(defcustom mu4e-attachment-dir (expand-file-name "~/")
"Default directory for saving attachments."
"Default directory for saving attachments. This can be either a
string, or a function that takes a filename FNAME and MIMETYPE as
arguments, and returns the attachment dir. Note, either or both of
the arguments may be `nil'."
:type 'directory
:group 'mu4e
:safe 'stringp)