summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-07-13 08:19:03 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-07-13 19:01:02 -0700
commitb9adb7972cc1daea369a25f5f50964e18c47f115 (patch)
tree426e1efba41fed0b6e305fa89c9c0985bb8477c3
parent02987e4e3993442f82b4ed1a4670a73eb62fb191 (diff)
downloaddotfiles-b9adb7972cc1daea369a25f5f50964e18c47f115.tar.gz
neater fix for M-g in notmuch nnselect summary buffers
-rw-r--r--.emacs.d/init.el4
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)