]> git.eshelyaron.com Git - emacs.git/commitdiff
* gnus-sum.el (gnus-rebuild-thread): Count hidden lines too.
authorShengHuo ZHU <zsh@cs.rochester.edu>
Sat, 16 Feb 2002 19:03:14 +0000 (19:03 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Sat, 16 Feb 2002 19:03:14 +0000 (19:03 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-sum.el

index 793cfcf8bc2ed06c94747d3e6c86b100a1986a6a..2ea593005b6dc959cfb0b12a3da96d9fbd9f66bf 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-17  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus-sum.el (gnus-rebuild-thread): Count hidden lines too.
+
 2002-02-13  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus-art.el (gnus-article-edit-mode): Use define-derived-mode.
index bc172f4b50971ec98ad53e53d05b7bca5e7f1c23..c1d781aed8262cd8b21dcd2d60b38390cd6a2365 100644 (file)
@@ -3549,7 +3549,7 @@ If LINE, insert the rebuilt thread starting on line LINE."
       (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))