Emacs: delay loading of mu4e
Alan Pearce alan@alanpearce.eu
Tue, 24 Sep 2019 17:46:31 +0200
1 files changed, 4 insertions(+), 2 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -756,6 +756,7 @@ (setq send-mail-function #'sendmail-send-it) (use-package mu4e :if (executable-find "mu") + :commands (mu4e) :init (setq mail-user-agent #'mu4e-user-agent) :custom ((mu4e-completing-read-function #'ivy-completing-read) (mu4e-maildir "~/mail") @@ -765,9 +766,10 @@ (mu4e-change-filenames-when-moving t) (mu4e-index-lazy-check t) (mu4e-hide-index-messages t) (mu4e-compose-format-flowed t)) + :init (progn + (with-eval-after-load 'evil-ex + (evil-ex-define-cmd "mu[4e]" #'mu4e))) :config (progn - (with-eval-after-load 'evil-ex - (evil-ex-define-cmd "mu[4e]" #'mu4e)) (setq mu4e-contexts (list (make-mu4e-context :name "SatoshiPay"