changeset 102046:9b33e73e70e3

(rmail-edit-diff-headers): Delete spurious reference to OLD.
author Richard M. Stallman <rms@gnu.org>
date Sun, 15 Feb 2009 02:31:55 +0000
parents ea3f7354bb96
children 62ca9007a17f
files lisp/mail/rmailedit.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmailedit.el	Sun Feb 15 00:34:20 2009 +0000
+++ b/lisp/mail/rmailedit.el	Sun Feb 15 02:31:55 2009 +0000
@@ -284,9 +284,9 @@
     ;; Look at the new headers with no old counterpart.
     (dolist (new new-headers)
       (let ((prev (cadr (member new reverse-new))))
-	;; Mark each one as an insertion.  Show the previous new header.
-	(unless old
-	  (push (list prev new) inserted))))
+	;; Mark each one as an insertion.
+	;; Record the previous new header, to insert it after that.
+	(push (list prev new) inserted)))
     ;; It is crucial to return the insertions in buffer order
     ;; so that `rmail-edit-update-headers' can insert a field
     ;; after a new field.