Use nreverse, because it is sorted.
authorShengHuo ZHU <zsh@cs.rochester.edu>
Mon, 28 Jan 2002 14:30:19 +0000 (14:30 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Mon, 28 Jan 2002 14:30:19 +0000 (14:30 +0000)
lisp/ChangeLog
lisp/gnus-agent.el

index 582514f..2633884 100644 (file)
@@ -1,7 +1,8 @@
 2002-01-28  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus-agent.el (gnus-agent-retrieve-headers): Use
-       nnheader-find-nov-line to speed up.
+       nnheader-find-nov-line to speed up. Use nreverse, because it is
+       sorted.
 
 2002-01-28  Katsumi Yamaoka  <yamaoka@jpl.org>
 
index 766e8a9..7d8afef 100644 (file)
@@ -1846,7 +1846,7 @@ The following commands are available:
            (when (looking-at "[0-9]")
              (push (read (current-buffer)) cached-articles))
            (forward-line 1))
-         (setq cached-articles (sort cached-articles '<))))
+         (setq cached-articles (nreverse cached-articles))))
       (if (setq uncached-articles 
                (gnus-set-difference articles cached-articles))
          (progn