]> git.eshelyaron.com Git - emacs.git/commitdiff
Rung new-news-hook from `M-g' in the Gnus summary buffer
authorŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 11 Apr 2018 22:09:41 +0000 (00:09 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 11 Apr 2018 22:09:41 +0000 (00:09 +0200)
* 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

index 10d203408a1b19946971461623ae7670c5bdcc7e..e6081a41a5b35bebb0dc2529387957256f53a423 100644 (file)
@@ -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