]> 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:06:13 +0000 (19:06 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Sat, 16 Feb 2002 19:06:13 +0000 (19:06 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-sum.el

index 734de30f294204041f84c360078da1a48500dd5a..68eb1e88ab747d9bcf8ead8f2f4d5482ff887562 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-07  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus-art.el (article-wash-html): Bind url-gateway-unplugged. 
index d1144446c9e08df10392a42341ae8e51d298d43f..95af0c7e7e2abbf2317fc2349e579e643a5a4864 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))