summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/.emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index 4aee1385..d535aa51 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -827,7 +827,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (use-package mu4e
   :if (executable-find "mu")
   :commands (mu4e)
-  :init (setq mail-user-agent #'mu4e-user-agent)
+  :defines (mu4e-contexts)
   :custom ((mu4e-completing-read-function #'ivy-completing-read)
            (mu4e-maildir "~/mail")
            (mu4e-context-policy 'pick-first)
@@ -840,6 +840,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
          (with-eval-after-load 'evil-ex
            (evil-ex-define-cmd "mu[4e]" #'mu4e)))
   :config (progn
+            (setq mail-user-agent #'mu4e-user-agent)
             (setq mu4e-contexts (list
                                  (make-mu4e-context
                                   :name "SatoshiPay"