diff --git a/init.el b/init.el index b72edfe..7f63a1b 100644 --- a/init.el +++ b/init.el @@ -629,7 +629,8 @@ COMMAND and COMINT are like `compile'." (use-package mu4e :ensure nil :defer nil - :hook (mu4e-index-updated . my/-mu4e-enable-index-messages) + :hook ((mu4e-index-updated . my/-mu4e-enable-index-messages) + (mu4e-main-mode . my/-mu4e-setup-main-mode)) :bind (("C-x C-m" . mu4e) ("C-x m" . mu4e-compose-new) :map message-mode-map @@ -637,6 +638,8 @@ COMMAND and COMINT are like `compile'." :init (require 'mu4e) (evil-define-key '(normal motion) mu4e-main-mode-map "q" #'bury-buffer) + (defun my/-mu4e-setup-main-mode () + (setq-local default-directory "~/")) (defun my/-mu4e-enable-index-messages () (setq mu4e-hide-index-messages nil)) (defun my/mu4e-update-mail-and-index-silent ()