From b3075aaef1ad7a2fea02bcc7c02f2e7b52c14437 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 1 Apr 2024 21:03:24 +0800 Subject: sync notmuch nnselect groups after gnus-group-read-init-file --- .emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 1070b8b1..2414574f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -3579,6 +3579,8 @@ unread." (gnus-group-best-unread-group))))) (with-eval-after-load 'gnus-start (add-hook 'gnus-started-hook #'spw/sync-notmuch-nnselect-groups)) +(advice-add 'gnus-group-read-init-file + :after #'spw/sync-notmuch-nnselect-groups) (defun spw/gnus-specs-search-notmuch-p (&optional specs group) (and-let* ((specs -- cgit v1.2.3