1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

* lisp/mail/rmail.el (rmail-reply):

Decode subject before matching "Re:" prefix.  (Bug#20396)
This commit is contained in:
Glenn Morris 2015-04-27 17:18:39 -04:00
parent f3b43fca47
commit 579db5085b

View 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))