emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 579db50: * lisp/mail/rmail.el (rmail-reply):


From: Glenn Morris
Subject: [Emacs-diffs] master 579db50: * lisp/mail/rmail.el (rmail-reply):
Date: Mon, 27 Apr 2015 21:18:43 +0000

branch: master
commit 579db5085ba2ad48160bf5243c2cd477dce4242e
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/mail/rmail.el (rmail-reply):
    
    Decode subject before matching "Re:" prefix.  (Bug#20396)
---
 lisp/mail/rmail.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 7efcf69..43abc12 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]