Fix wrong-number-of-args error on loading mu4e

Because mu4e-attachment-dir is expected to take two arguments (if it's a
function).
This commit is contained in:
Henrik Lissner
2020-05-26 13:23:02 -04:00
parent 2d3eab7a35
commit 8d75d72eb0

View File

@ -19,7 +19,8 @@
(setq mu4e-maildir "~/.mail"
mu4e-user-mail-address-list nil))
(setq mu4e-attachment-dir
(lambda () (expand-file-name ".attachments" (mu4e-root-maildir))))
(lambda (&rest _)
(expand-file-name ".attachments" (mu4e-root-maildir))))
:config
(pcase +mu4e-backend
(`mbsync