Reverse the order of the articles to reflect the order they're in in the digest.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 31 Oct 2010 15:53:59 +0000 (16:53 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 31 Oct 2010 15:53:59 +0000 (16:53 +0100)
lisp/ChangeLog
lisp/nndoc.el

index c56ee71..c00093c 100644 (file)
@@ -1,5 +1,8 @@
 2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * nndoc.el (nndoc-dissect-buffer): Reverse the order of the articles to
+       reflect the order they're in in the digest.
+
        * gnus.el (gnus-group-startup-message): Move point to the start of the
        buffer.
 
index 9f147e3..0dee06d 100644 (file)
@@ -918,7 +918,8 @@ from the document.")
            (setq body-end (point))
            (push (list (incf i) head-begin head-end body-begin body-end
                        (count-lines body-begin body-end))
-                 nndoc-dissection-alist)))))))
+                 nndoc-dissection-alist)))))
+    (setq nndoc-dissection-alist (nreverse nndoc-dissection-alist))))
 
 (defun nndoc-article-begin ()
   (if nndoc-article-begin-function