diff options
| author | Eli Zaretskii | 1999-01-31 14:49:43 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 1999-01-31 14:49:43 +0000 |
| commit | 1d0f30eceedf195d7331645af330da2784c3fa37 (patch) | |
| tree | b3b8178d8dcf28ec57852be2eb6983c7ec009848 | |
| parent | df90db135904c570967c641be53bc27a7ee5ffe4 (diff) | |
| download | emacs-1d0f30eceedf195d7331645af330da2784c3fa37.tar.gz emacs-1d0f30eceedf195d7331645af330da2784c3fa37.zip | |
(rmail-mime-charset-pattern): Add optional TABs
and NLs before "charset", and allow the charset name be in double
quotes.
| -rw-r--r-- | lisp/mail/rmail.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 6b9ea1b019d..6aed2263498 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -371,7 +371,7 @@ the variable `rmail-mime-feature'.") | |||
| 371 | 371 | ||
| 372 | ;;;###autoload | 372 | ;;;###autoload |
| 373 | (defvar rmail-mime-charset-pattern | 373 | (defvar rmail-mime-charset-pattern |
| 374 | "^content-type:[ ]*text/plain;[ ]*charset=\\([^ \t\n]+\\)" | 374 | "^content-type:[ ]*text/plain;[ \t\n]*charset=\"?\\([^ \t\n\"]+\\)\"?" |
| 375 | "Regexp to match MIME-charset specification in a header of message. | 375 | "Regexp to match MIME-charset specification in a header of message. |
| 376 | The first parenthesized expression should match the MIME-charset name.") | 376 | The first parenthesized expression should match the MIME-charset name.") |
| 377 | 377 | ||