[gnus git] branch no-gnus updated: m0-1-26-g388955e =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  388955e8f64041c33046fa14411fbef36d890eb8 (commit)
      from  3bba4fb29fd2d89d5e1b8db5dd055169b852840a (commit)


- Log -----------------------------------------------------------------
commit 388955e8f64041c33046fa14411fbef36d890eb8
Author: Katsumi Yamaoka <[email protected]>
Date:   Mon Feb 6 22:49:54 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 051d0ae..9e92a53 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-06  Katsumi Yamaoka  <[email protected]>
+
+	* gnus-sum.el (gnus-summary-show-thread):
+	next-single-char-property-change may return nil in XEmacs.
+
 2012-02-06  Lars Ingebrigtsen  <[email protected]>
 
 	* gnus-sum.el (gnus-handle-ephemeral-exit): Allow exiting from Gnus
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index c7f80ec..c17f16e 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -11579,7 +11579,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   |    5 +++++
 lisp/gnus-sum.el |    5 ++++-
 2 files changed, 9 insertions(+), 1 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, no-gnus 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.