diff lisp/gnus/gnus-sum.el @ 43362:5fe3e0ee7fd7

* gnus-sum.el (gnus-rebuild-thread): Count hidden lines too.
author ShengHuo ZHU <zsh@cs.rochester.edu>
date Sat, 16 Feb 2002 19:03:14 +0000
parents 0f4506820432
children 37801f2191c3 769c1cbf5c5e
line wrap: on
line diff
--- a/lisp/gnus/gnus-sum.el	Sat Feb 16 17:32:07 2002 +0000
+++ b/lisp/gnus/gnus-sum.el	Sat Feb 16 19:03:14 2002 +0000
@@ -3549,7 +3549,7 @@
       (setq thread (gnus-remove-thread id)))
     (setq old-pos (gnus-point-at-bol))
     (setq current (save-excursion
-		    (and (zerop (forward-line -1))
+		    (and (re-search-backward "[\r\n]" nil t)
 			 (gnus-summary-article-number))))
     ;; If this is a gathered thread, we have to go some re-gathering.
     (when (stringp (car thread))