[gnus git] branch master updated: m0-5-28-g6ff4928 =1= (gnus-warp-to-article): Limit registry warping to real groups.

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


- Log -----------------------------------------------------------------
commit 6ff4928b279b6c343f28642da8882a63631f1674
Author: Dave Abrahams <[email protected]>
Date:   Mon Jun 11 00:00:09 2012 +0200

    (gnus-warp-to-article): Limit registry warping to real groups.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 90ae9da..03d9f8a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-10  Dave Abrahams  <[email protected]>
+
+	* gnus-int.el (gnus-warp-to-article): Limit registry warping to real
+	groups.
+
 2012-06-10  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* mm-decode.el (mm-display-part): Dissect archives when hitting `RET'
diff --git a/lisp/gnus-int.el b/lisp/gnus-int.el
index bc98693..18e56ed 100644
--- a/lisp/gnus-int.el
+++ b/lisp/gnus-int.el
@@ -587,6 +587,7 @@ This is the string that Gnus uses to identify the group."
   "Warps from an article in a virtual group to the article in its
 real group. Does nothing on a real group."
   (interactive)
+  (when (gnus-virtual-group-p gnus-newsgroup-name)
   (let ((gnus-command-method
 	 (gnus-find-method-for-group gnus-newsgroup-name)))
     (or
@@ -594,7 +595,7 @@ real group. Does nothing on a real group."
             'warp-to-article (car gnus-command-method))
        (funcall (gnus-get-function gnus-command-method 'warp-to-article)))
      (and (bound-and-true-p gnus-registry-enabled)
-	  (gnus-try-warping-via-registry)))))
+            (gnus-try-warping-via-registry))))))
 
 (defun gnus-request-head (article group)
   "Request the head of ARTICLE in GROUP."

-----------------------------------------------------------------------
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   |    5 +++++
 lisp/gnus-int.el |   17 +++++++++--------
 2 files changed, 14 insertions(+), 8 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.