X-Git-Url: https://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fgnus-sum.el;h=c10dbe1ad8b5f2ef296fac5b590276dd51fdac87;hb=224209579a4bbad483f41f7af6840fe1a81d8130;hp=6fff60f4452f99777c46415e8e90acb8b258c731;hpb=67fc712d14c42ac2054b5832e0cc9ab75719c012;p=gnus diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index 6fff60f44..c10dbe1ad 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -11581,7 +11581,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))