1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-14 11:42:29 -08:00

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

This commit is contained in:
Katsumi Yamaoka 2012-02-06 22:52:55 +00:00
parent 5cc59a3789
commit 32dbaef2a6
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -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))