aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mail/rmail.el
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>1999-01-31 14:49:43 +0000
committerEli Zaretskii <[email protected]>1999-01-31 14:49:43 +0000
commit1d0f30eceedf195d7331645af330da2784c3fa37 (patch)
treeb3b8178d8dcf28ec57852be2eb6983c7ec009848 /lisp/mail/rmail.el
parentdf90db135904c570967c641be53bc27a7ee5ffe4 (diff)
(rmail-mime-charset-pattern): Add optional TABs
and NLs before "charset", and allow the charset name be in double quotes.
Diffstat (limited to 'lisp/mail/rmail.el')
-rw-r--r--lisp/mail/rmail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 6b9ea1b019..6aed226349 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -371,7 +371,7 @@ the variable `rmail-mime-feature'.")
;;;###autoload
(defvar rmail-mime-charset-pattern
- "^content-type:[ ]*text/plain;[ ]*charset=\\([^ \t\n]+\\)"
+ "^content-type:[ ]*text/plain;[ \t\n]*charset=\"?\\([^ \t\n\"]+\\)\"?"
"Regexp to match MIME-charset specification in a header of message.
The first parenthesized expression should match the MIME-charset name.")