message.el (message-change-subject): Really check whether the subject changed
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 7 Dec 2014 22:05:21 +0000 (22:05 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Sun, 7 Dec 2014 22:05:21 +0000 (22:05 +0000)
lisp/ChangeLog
lisp/message.el

index cc76e4b..5ea5e55 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * message.el (message-change-subject): Really check whether the subject
+       changed.
+
 2014-12-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * mailcap.el (mailcap-mime-data): Add doc-view-mode as a viewer for
index 828dfde..8fea926 100644 (file)
@@ -2350,7 +2350,7 @@ Leading \"Re: \" is not stripped by this function.  Use the function
                   ((not (string-match
                          (concat "^[ \t]*"
                                  (regexp-quote new-subject)
-                                 " \t]*$")
+                                 "[ \t]*$")
                          old-subject))  ; yes, it really is a new subject
                    ;; delete eventual Re: prefix
                    (setq old-subject