]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a typo in rmail.el
authorFrancesco Potortì <pot@gnu.org>
Fri, 26 Jan 2018 14:11:33 +0000 (16:11 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 26 Jan 2018 14:11:33 +0000 (16:11 +0200)
* lisp/mail/rmail.el (rmail-simplified-subject): Fix a typo in the
regexp.  (Bug#29659)

lisp/mail/rmail.el

index 4e1825255110eec473dd00d1be03758a14bcc37f..4e5873c06ee0a8a28cc5162549eef58eedf963d7 100644 (file)
@@ -3403,7 +3403,7 @@ whitespace, replacing whitespace runs with a single space and
 removing prefixes such as Re:, Fwd: and so on and mailing list
 tags such as [tag]."
   (let ((subject (or (rmail-get-header "Subject" msgnum) ""))
-       (regexp "\`[ \t\n]*\\(\\(\\w\\{1,3\\}:\\|\\[[^]]+]\\)[ \t\n]+\\)*"))
+       (regexp "\\`[ \t\n]*\\(\\(\\w\\{1,3\\}:\\|\\[[^]]+]\\)[ \t\n]+\\)*"))
     (setq subject (rfc2047-decode-string subject))
     (setq subject (replace-regexp-in-string regexp "" subject))
     (replace-regexp-in-string "[ \t\n]+" " " subject)))