]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-reply): If no resent-date, use ordinary date.
authorRichard M. Stallman <rms@gnu.org>
Fri, 4 Feb 1994 22:59:05 +0000 (22:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 4 Feb 1994 22:59:05 +0000 (22:59 +0000)
If no resent-to, use empty string for to.

lisp/mail/rmail.el

index b496102a57a706ef0e24a91a733a6d4a9950da44..7d6e0490d972bca49063f506ffa03a11895cf3d6 100644 (file)
@@ -1740,11 +1740,11 @@ use \\[mail-yank-original] to yank the original message into it."
              subject (or (and resent-reply-to
                               (mail-fetch-field "resent-subject" t))
                          (mail-fetch-field "subject"))
-             date (cond (resent-reply-to
-                         (mail-fetch-field "resent-date" t))
-                        ((mail-fetch-field "date")))
+             date (or (and resent-reply-to
+                           (mail-fetch-field "resent-date" t))
+                      (mail-fetch-field "date"))
              to (cond (resent-reply-to
-                       (mail-fetch-field "resent-to" t))
+                       (or (mail-fetch-field "resent-to" t)) "")
                       ((mail-fetch-field "to" nil t))
                       ;((mail-fetch-field "apparently-to")) ack gag barf
                       (t ""))