From 25803b2887dadd452cb998396b3a6e4ca093dfd9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Stelmach?= Date: Thu, 12 Apr 2018 00:09:41 +0200 Subject: [PATCH] Rung new-news-hook from `M-g' in the Gnus summary buffer * lisp/gnus/gnus-group.el (gnus-group-get-new-news-this-group): Run `gnus-after-getting-new-news-hook' when doing `M-g' in the summary buffer, too (bug#25892). This makes `M-g' in both group and summary buffers work more similar. Copyright-paperwork-exempt: yes --- lisp/gnus/gnus-group.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 10d203408a1..e6081a41a5b 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el @@ -4120,6 +4120,7 @@ If DONT-SCAN is non-nil, scan non-activated groups as well." method (gnus-group-real-name group) active)) (gnus-group-update-group group nil t)) (gnus-error 3 "%s error: %s" group (gnus-status-message group)))) + (gnus-run-hooks 'gnus-after-getting-new-news-hook) (when beg (goto-char beg)) (when gnus-goto-next-group-when-activating -- 2.39.5