[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6196190 2/4: ; * lisp/mail/rmail.el (rmail-simplified-subject): D
From: |
Mattias Engdegård |
Subject: |
master 6196190 2/4: ; * lisp/mail/rmail.el (rmail-simplified-subject): Dodge relint nag |
Date: |
Sat, 29 May 2021 03:48:00 -0400 (EDT) |
branch: master
commit 61961903fd979f0f385db3138025866c88908c6f
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
; * lisp/mail/rmail.el (rmail-simplified-subject): Dodge relint nag
---
lisp/mail/rmail.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 7ef3754..e479a8e 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -3360,7 +3360,7 @@ tags such as [tag]."
;; Corporate mailing systems sometimes add `[External] :'; if that
happened,
;; delete everything up thru there. Empirically, that deletion makes
;; the Subject match the other messages in the thread.
- (if (string-match "[[]external][ \t\n]*:" subject)
+ (if (string-match "\\[external][ \t\n]*:" subject)
(setq subject (substring subject (match-end 0))))
(setq subject (rfc2047-decode-string subject))
(setq subject (replace-regexp-in-string regexp "" subject))