# HG changeset patch # User Eli Zaretskii # Date 1160227791 0 # Node ID f3db6404bec1441b2ca65400e5793873d07199d4 # Parent 131aaf8fbc4180a9250e8fea14b60a9dca4d337a (rmail-mime-charset-pattern): Allow a TAB between "Content-Type" and "text/plain". diff -r 131aaf8fbc41 -r f3db6404bec1 lisp/mail/rmail.el --- a/lisp/mail/rmail.el Sat Oct 07 13:13:34 2006 +0000 +++ b/lisp/mail/rmail.el Sat Oct 07 13:29:51 2006 +0000 @@ -623,7 +623,7 @@ ;;;###autoload (defvar rmail-mime-charset-pattern - (concat "^content-type:[ ]*text/plain;" + (concat "^content-type:[ \t]*text/plain;" "\\(?:[ \t\n]*\\(?:format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*" "[ \t\n]*charset=\"?\\([^ \t\n\";]+\\)\"?") "Regexp to match MIME-charset specification in a header of message.