emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 606c94f: Fix a typo in rmail.el


From: Eli Zaretskii
Subject: [Emacs-diffs] master 606c94f: Fix a typo in rmail.el
Date: Fri, 26 Jan 2018 09:12:27 -0500 (EST)

branch: master
commit 606c94f47ddef5a5a3dcff13048369253bbdcb3c
Author: Francesco Potortì <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix a typo in rmail.el
    
    * lisp/mail/rmail.el (rmail-simplified-subject): Fix a typo in the
    regexp.  (Bug#29659)
---
 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 4e18252..4e5873c 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -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)))



reply via email to

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