]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/mail/rmail.el (rmail-reply):
authorGlenn Morris <rgm@gnu.org>
Mon, 27 Apr 2015 21:18:39 +0000 (17:18 -0400)
committerGlenn Morris <rgm@gnu.org>
Mon, 27 Apr 2015 21:18:39 +0000 (17:18 -0400)
Decode subject before matching "Re:" prefix.  (Bug#20396)

lisp/mail/rmail.el

index 7efcf695b24fd013979a5fe4f55f82d9d9398242..43abc128c8af48d5f80503400199905f28fe8335 100644 (file)
@@ -3830,7 +3830,8 @@ use \\[mail-yank-original] to yank the original message into it."
 ;;;      (setq cc resent-cc)))
     ;; Add `Re: ' to subject if not there already.
     (and (stringp subject)
-        (setq subject
+        (setq subject (rfc2047-decode-string subject)
+              subject
               (concat rmail-reply-prefix
                       (if (let ((case-fold-search t))
                             (string-match rmail-reply-regexp subject))