mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
mm-shr: Ignore coding-system `ascii'
* lisp/gnus/mm-decode.el (mm-shr): Ignore coding-system `ascii'.
This commit is contained in:
parent
0a670690f1
commit
851b38bcdf
1 changed files with 3 additions and 2 deletions
|
|
@ -1808,8 +1808,9 @@ text/\\(\\sw+\\)\\(?:;\\s-*charset=\\([^\t\n\r \"'>]+\\)\\)?[^>]*>" nil t)
|
|||
nil t))
|
||||
(string-match "\\`html\\'" (match-string 1))))
|
||||
mail-parse-charset))
|
||||
(when (or coding
|
||||
(setq coding (mm-charset-to-coding-system charset nil t)))
|
||||
(when (and (or coding
|
||||
(setq coding (mm-charset-to-coding-system charset nil t)))
|
||||
(not (eq coding 'ascii)))
|
||||
(insert (prog1
|
||||
(decode-coding-string (buffer-string) coding)
|
||||
(erase-buffer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue