Commit 32dbaef2 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

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

parent 5cc59a37
2012-02-06 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-sum.el (gnus-summary-show-thread):
next-single-char-property-change may return nil in XEmacs.
2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
 
* gnus-sum.el (gnus-handle-ephemeral-exit): Allow exiting from Gnus
......
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment