From: Mattias EngdegÄrd Date: Fri, 28 May 2021 09:48:00 +0000 (+0200) Subject: ; * lisp/mail/rmail.el (rmail-simplified-subject): Dodge relint nag X-Git-Tag: emacs-28.0.90~2281 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=61961903fd979f0f385db3138025866c88908c6f;p=emacs.git ; * lisp/mail/rmail.el (rmail-simplified-subject): Dodge relint nag --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 7ef3754dad1..e479a8e9b4a 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))