From b4c351611b4368cc3da0bc0f5bc825136829bba2 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sun, 6 Nov 2022 14:21:23 +0800 Subject: mail + gnus: Update mails without mu4e This is the first and maybe the last step to remove the dependency on mu4e. I can now update mails without calling a mu4e function. That is virtually the only functionality I use of mu4e since a long time. I shall have done this a long time ago, but I was too lazy to do so. ;D --- gnus-conf.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnus-conf.el') diff --git a/gnus-conf.el b/gnus-conf.el index c57f7ff..f409b41 100644 --- a/gnus-conf.el +++ b/gnus-conf.el @@ -138,10 +138,10 @@ ;;; Update by mu4e -(autoload 'mu4e-update-mail-and-index "mu4e-utils") +;; (autoload 'mu4e-update-mail-and-index "mu4e-utils") (autoload 'load-config "init") -(defalias 'durand-update-mail #'mu4e-update-mail-and-index) +;; (defalias 'durand-update-mail #'mu4e-update-mail-and-index) ;; Let notmuch know about the changes automatically. @@ -151,7 +151,7 @@ (add-hook 'mu4e-index-updated-hook #'notmuch-poll) -(define-key gnus-group-mode-map (vector 117) #'durand-update-mail) +(define-key gnus-group-mode-map (vector 117) #'durand-mail-update) (define-key global-map (vector ?\C-c ?g) 'gnus) ;;; Use notmuch to search mails -- cgit v1.2.3-18-g5258