diff options
author | Katsumi Yamaoka <yamaoka@jpl.org> | 2012-02-06 22:52:55 +0000 |
---|---|---|
committer | Katsumi Yamaoka <yamaoka@jpl.org> | 2012-02-06 22:52:55 +0000 |
commit | 32dbaef2a6ea68e4f1effeb6f16c9625b63d6086 (patch) | |
tree | 20b3f7c32a673cd39a2bfc7d45a119dda53d7755 /lisp/gnus/gnus-sum.el | |
parent | 5cc59a37897852e81e69dc630396785bddab03dd (diff) | |
download | emacs-32dbaef2a6ea68e4f1effeb6f16c9625b63d6086.tar.gz |
gnus-sum.el (gnus-summary-show-thread): next-single-char-property-change may return nil in XEmacs.
Diffstat (limited to 'lisp/gnus/gnus-sum.el')
-rw-r--r-- | lisp/gnus/gnus-sum.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index c7f80ec1512..c17f16ef212 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/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)) |