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:
parent
2d3eab7a35
commit
8d75d72eb0
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue