From: Katsumi Yamaoka Date: Tue, 7 Feb 2012 06:33:51 +0000 (+0000) Subject: gnus-sum.el (gnus-summary-show-thread): Revert last two changes. X-Git-Tag: emacs-pretest-24.0.94~263 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=75ded89ba50f0b1758fe5c70701e0ae422b0c497;p=emacs.git gnus-sum.el (gnus-summary-show-thread): Revert last two changes. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 383addc8369..7c83b9d99de 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2012-02-07 Katsumi Yamaoka + + * gnus-sum.el (gnus-summary-show-thread): Revert last two changes. + 2012-02-07 Lars Ingebrigtsen * nnimap.el (nnimap-transform-headers): Remove unused variable. diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index c10dbe1ad8b..296f25a09f9 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -11581,10 +11581,9 @@ 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) - (if (featurep 'xemacs) - (or (next-single-char-property-change end 'invisible) - (point-max)) - (next-single-char-property-change end 'invisible)) + ;; Note: XEmacs version of n-s-c-p-c may return nil + (or (next-single-char-property-change end 'invisible) + (point-max)) (while (progn (end-of-line 2) (and (not (eobp))