Merge branch 'no-gnus' of https://git.gnus.org/gnus into no-gnus
[gnus] / lisp / gnus-sum.el
index 6fff60f..c10dbe1 100644 (file)
@@ -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))