aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-04-10 03:19:09 +0000
committerRichard M. Stallman2006-04-10 03:19:09 +0000
commit4f07f2e8a5458758dcf2bfbdf9b0cf8c91a8572e (patch)
tree3d2f329a026de9a1d53f6c754f5ccc2e16df44cc
parent8803c4f4ac3311a509545354b3203f6d8044cb42 (diff)
downloademacs-4f07f2e8a5458758dcf2bfbdf9b0cf8c91a8572e.tar.gz
emacs-4f07f2e8a5458758dcf2bfbdf9b0cf8c91a8572e.zip
(rmail-mime-charset-pattern): Ignore format and delsp specs
while looking for charset.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/mail/rmail.el4
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 596e92eaa0e..2adf8adf559 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12006-04-09 Richard Stallman <rms@gnu.org> 12006-04-09 Richard Stallman <rms@gnu.org>
2 2
3 * mail/rmail.el (rmail-mime-charset-pattern): Ignore format and delsp
4 specs while looking for charset.
5
3 * textmodes/picture.el (picture-mode-exit): Run picture-mode-exit-hook. 6 * textmodes/picture.el (picture-mode-exit): Run picture-mode-exit-hook.
4 7
5 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X): 8 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X):
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index e0fecb4ff28..a400efc5cc8 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -623,7 +623,9 @@ the variable `rmail-mime-feature'.")
623 623
624;;;###autoload 624;;;###autoload
625(defvar rmail-mime-charset-pattern 625(defvar rmail-mime-charset-pattern
626 "^content-type:[ ]*text/plain;[ \t\n]*charset=\"?\\([^ \t\n\";]+\\)\"?" 626 (concat "^content-type:[ ]*text/plain;"
627 "\\(?:[ \t\n]*\\(format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*"
628 "[ \t\n]*charset=\"?\\([^ \t\n\";]+\\)\"?")
627 "Regexp to match MIME-charset specification in a header of message. 629 "Regexp to match MIME-charset specification in a header of message.
628The first parenthesized expression should match the MIME-charset name.") 630The first parenthesized expression should match the MIME-charset name.")
629 631