mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix last change
* lisp/mail/rmail.el (rmail-simplified-subject): A prefix can have up to 4 characters, not 3.
This commit is contained in:
parent
49f2811f78
commit
c395ebaf21
1 changed files with 1 additions and 1 deletions
|
|
@ -3408,7 +3408,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,4\\}[::]\\|\\[[^]]+]\\)[ \t\n]+\\)*"))
|
||||
(setq subject (rfc2047-decode-string subject))
|
||||
(setq subject (replace-regexp-in-string regexp "" subject))
|
||||
(replace-regexp-in-string "[ \t\n]+" " " subject)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue