[gnus git] branch master updated: m0-5-29-g5d614b9 =1= Use `gnus-group-use-permanent-levels' in `g' in Gnus

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  5d614b9d4e1e0682261020b6bc4828b90a720d39 (commit)
      from  6ff4928b279b6c343f28642da8882a63631f1674 (commit)


- Log -----------------------------------------------------------------
commit 5d614b9d4e1e0682261020b6bc4828b90a720d39
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon Jun 11 00:09:40 2012 +0200

    Use `gnus-group-use-permanent-levels' in `g' in Gnus
    
    * gnus-group.el (gnus-group-get-new-news): Respect
    `gnus-group-use-permanent-levels', as documented (bug#11638).

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 03d9f8a..0438aad 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,7 +1,12 @@
+2012-06-10  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* gnus-group.el (gnus-group-get-new-news): Respect
+	`gnus-group-use-permanent-levels', as documented (bug#11638).
+
 2012-06-10  Dave Abrahams  <[email protected]>
 
 	* gnus-int.el (gnus-warp-to-article): Limit registry warping to real
-	groups.
+	groups (bug#11641).
 
 2012-06-10  Lars Magne Ingebrigtsen  <[email protected]>
 
diff --git a/lisp/gnus-group.el b/lisp/gnus-group.el
index 7fc6591..fd223ef 100644
--- a/lisp/gnus-group.el
+++ b/lisp/gnus-group.el
@@ -4043,7 +4043,8 @@ otherwise all levels below ARG will be scanned too."
     (unless gnus-slave
       (gnus-master-read-slave-newsrc))
 
-    (gnus-get-unread-articles arg nil one-level)
+    (gnus-get-unread-articles (gnus-group-default-level arg t)
+			      nil one-level)
 
     ;; If the user wants it, we scan for new groups.
     (when (eq gnus-check-new-newsgroups 'always)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog     |    7 ++++++-
 lisp/gnus-group.el |    3 ++-
 2 files changed, 8 insertions(+), 2 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.