From 13e4332af224ff3a2a3398a9a5095d63cc496efb Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Thu, 20 Apr 2023 23:00:10 +0200 Subject: [PATCH] [Emacs] Workaround for mu4e 1.10, waiting for evil-collection --- org/config/emacs.org | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index b49c1db..b646ca4 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -1717,9 +1717,19 @@ configuration for the ~mu4e~ package itself. #+begin_src emacs-lisp (use-package mu4e :after all-the-icons - :straight (:build t :location site) + :straight (:build t) :commands mu4e mu4e-compose-new :init + + (defun mu4e--main-action-str (name func) + "This seems to be needed until evil-collection supports the latest + version of mu4e." + "mu4e-main-action") + + (require 'mu4e) + + (remove-hook 'mu4e-main-mode-hook 'evil-collection-mu4e-update-main-view) + (csetq mu4e-completing-read-function 'completing-read mu4e-use-fancy-chars t message-kill-buffer-on-exit t