emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 25803b2: Rung new-news-hook from `M-g' in the Gnus


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 25803b2: Rung new-news-hook from `M-g' in the Gnus summary buffer
Date: Wed, 11 Apr 2018 18:10:21 -0400 (EDT)

branch: master
commit 25803b2887dadd452cb998396b3a6e4ca093dfd9
Author: Ɓukasz Stelmach <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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 10d2034..e6081a4 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]