]> git.eshelyaron.com Git - emacs.git/commitdiff
(mh-forward): Address SF 1730393. When forwarding
authorJeffrey C Honig <jch@bsdi.com>
Mon, 20 Aug 2007 03:05:42 +0000 (03:05 +0000)
committerJeffrey C Honig <jch@bsdi.com>
Mon, 20 Aug 2007 03:05:42 +0000 (03:05 +0000)
with mml, messages were included in reverse order.

lisp/mh-e/ChangeLog
lisp/mh-e/mh-comp.el

index 8c91b633c6d54300022e067aaa1a830c782a9fbd..ee332fc81863c62214f75d38230a97f7df74f117 100644 (file)
@@ -1,5 +1,8 @@
 2007-08-20  Jeffrey C Honig  <jch@honig.net>
 
+       * mh-comp.el (mh-forward): Address SF 1730393.  When forwarding
+       with mml, messages were included in reverse order.
+
        * mh-mime.el (mh-mml-forward-message): Address SF 1378993 and
        forward messages as inline attatchments.
 
index b74c445238e234fbca8e9f49abca090e9c5b7bd9..a71de8246c591b7b27c6800f875faded5af9b4e5 100644 (file)
@@ -497,7 +497,9 @@ See also `mh-compose-forward-as-mime-flag',
                   (dolist (msg msgs)
                     (setq i (1+ i))
                     (mh-mml-forward-message (format description i)
-                                            folder msg))))))
+                                            folder msg)
+                    ;; Was inserted before us, move to end of file to preserve order
+                    (goto-char (point-max)))))))
         ;; Postition just before forwarded message
         (if (re-search-forward "^------- Forwarded Message" nil t)
             (forward-line -1)