[gnus git] branch master updated: m0-1-70-g78b804f =1= gnus-sum.el (gnus-summary-show-thread): next-single-char-property-change may return nil in XEmacs.

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  78b804fede9a7a9337c4dd8f22f05b06454dfca4 (commit)
      from  e8d4bab213ee8b04100aaaf6b4d8ce95e0b680d7 (commit)


- Log -----------------------------------------------------------------
commit 78b804fede9a7a9337c4dd8f22f05b06454dfca4
Author: Katsumi Yamaoka <[email protected]>
Date:   Mon Feb 6 22:49:51 2012 +0000

    gnus-sum.el (gnus-summary-show-thread): next-single-char-property-change may return nil in XEmacs.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9ecae5a..8bce975 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,6 +1,8 @@
 2012-02-06  Katsumi Yamaoka  <[email protected]>
 
-	* gnus-sum.el (gnus-summary-article-map): Fix typo.
+	* gnus-sum.el (gnus-summary-show-thread):
+	next-single-char-property-change may return nil in XEmacs.
+	(gnus-summary-article-map): Fix typo.
 
 2012-02-06  Lars Ingebrigtsen  <[email protected]>
 
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 45a0f0b..52eb448 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -11592,7 +11592,10 @@ Returns nil if no thread was there to be shown."
 	 (beg (progn (beginning-of-line) (if (bobp) (point) (1- (point)))))
 	 (eoi (when end
 		(if (fboundp 'next-single-char-property-change)
-		    (next-single-char-property-change end 'invisible)
+		    (if (featurep 'xemacs)
+			(or (next-single-char-property-change end 'invisible)
+			    (point-max))
+		      (next-single-char-property-change end 'invisible))
 		  (while (progn
 			   (end-of-line 2)
 			   (and (not (eobp))

-----------------------------------------------------------------------
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   |    4 +++-
 lisp/gnus-sum.el |    5 ++++-
 2 files changed, 7 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.