summaryrefslogtreecommitdiff
path: root/gnus-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-11-06 14:21:23 +0800
committerJSDurand <mmemmew@gmail.com>2022-11-06 14:21:23 +0800
commitb4c351611b4368cc3da0bc0f5bc825136829bba2 (patch)
tree3a1a240dfbbbb94ad4ea7397fbbb0cdde8a9295f /gnus-conf.el
parenta8ac8d1ce90b681d90b58f0ad5f2d576f0511c34 (diff)
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
Diffstat (limited to 'gnus-conf.el')
-rw-r--r--gnus-conf.el6
1 files changed, 3 insertions, 3 deletions
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