Commit 9650fc61 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

mail/rmail.el (rmail-show-message-1): Catch an error of base64-decode-region...

mail/rmail.el (rmail-show-message-1): Catch an error of base64-decode-region and just show an error message (bug#7165).
parent 4505bd02
2010-10-14 Kenichi Handa <handa@m17n.org>
* mail/rmail.el (rmail-show-message-1): Catch an error of
base64-decode-region and just show an error message (bug#7165).
* ps-mule.el (ps-mule-font-spec-list): Delete it. Not used
anymore.
(ps-mule-begin-job): Fix for the case that only ENCODING is set in
......
......@@ -2742,7 +2742,9 @@ The current mail message becomes the message displayed."
nil t 'unibyte)
(message "Malformed MIME quoted-printable message")))
((and (string= character-coding "base64") is-text-message)
(base64-decode-region (point-min) (point-max)))
(condition-case err
(base64-decode-region (point-min) (point-max))
(error (message "%s" (cdr err)))))
((eq character-coding 'uuencode)
(error "uuencoded messages are not supported yet"))
(t))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment