From 8d75d72eb05b8d4a6498d521d8a547ffca698659 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 26 May 2020 13:23:02 -0400 Subject: [PATCH] Fix wrong-number-of-args error on loading mu4e Because mu4e-attachment-dir is expected to take two arguments (if it's a function). --- modules/email/mu4e/config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/email/mu4e/config.el b/modules/email/mu4e/config.el index 09849cfac..3ff2182ab 100644 --- a/modules/email/mu4e/config.el +++ b/modules/email/mu4e/config.el @@ -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