mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -19,7 +19,8 @@
|
|||||||
(setq mu4e-maildir "~/.mail"
|
(setq mu4e-maildir "~/.mail"
|
||||||
mu4e-user-mail-address-list nil))
|
mu4e-user-mail-address-list nil))
|
||||||
(setq mu4e-attachment-dir
|
(setq mu4e-attachment-dir
|
||||||
(lambda () (expand-file-name ".attachments" (mu4e-root-maildir))))
|
(lambda (&rest _)
|
||||||
|
(expand-file-name ".attachments" (mu4e-root-maildir))))
|
||||||
:config
|
:config
|
||||||
(pcase +mu4e-backend
|
(pcase +mu4e-backend
|
||||||
(`mbsync
|
(`mbsync
|
||||||
|
Reference in New Issue
Block a user