Commit 851b38bc authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

mm-shr: Ignore coding-system `ascii'

* lisp/gnus/mm-decode.el (mm-shr): Ignore coding-system `ascii'.
parent 0a670690
...@@ -1808,8 +1808,9 @@ text/\\(\\sw+\\)\\(?:;\\s-*charset=\\([^\t\n\r \"'>]+\\)\\)?[^>]*>" nil t) ...@@ -1808,8 +1808,9 @@ text/\\(\\sw+\\)\\(?:;\\s-*charset=\\([^\t\n\r \"'>]+\\)\\)?[^>]*>" nil t)
nil t)) nil t))
(string-match "\\`html\\'" (match-string 1)))) (string-match "\\`html\\'" (match-string 1))))
mail-parse-charset)) mail-parse-charset))
(when (or coding (when (and (or coding
(setq coding (mm-charset-to-coding-system charset nil t))) (setq coding (mm-charset-to-coding-system charset nil t)))
(not (eq coding 'ascii)))
(insert (prog1 (insert (prog1
(decode-coding-string (buffer-string) coding) (decode-coding-string (buffer-string) coding)
(erase-buffer) (erase-buffer)
......
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