From 75ded89ba50f0b1758fe5c70701e0ae422b0c497 Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Tue, 7 Feb 2012 06:33:51 +0000 Subject: [PATCH] gnus-sum.el (gnus-summary-show-thread): Revert last two changes. --- lisp/gnus/ChangeLog | 4 ++++ lisp/gnus/gnus-sum.el | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) 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)) -- 2.39.2