diff options
-rw-r--r-- | .emacs.d/init.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 310a41a4..0233b4bb 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -2984,9 +2984,7 @@ mutt's review view, after exiting EDITOR." ;; not display any new mail. (defun spw/gnus-request-group-scan (group _info) (when (eq 'nnselect (car (gnus-find-method-for-group group))) - (with-current-buffer gnus-group-buffer - (gnus-group-jump-to-group "nnmaildir+fmail:inbox") - (gnus-group-get-new-news-this-group)))) + (gnus-activate-group "nnmaildir+fmail:inbox" 'scan))) (advice-add 'gnus-request-group-scan :before #'spw/gnus-request-group-scan) (defun spw/gnus-group-nnselect-query (group) |