Commit 24a1d5a0 authored by Basil L. Contovounesios's avatar Basil L. Contovounesios
Browse files

Fix Gnus inline attachment decoding (bug#35507)

Proposed by Andy Moreton <andrewjmoreton@gmail.com>
and Noam Postavsky <npostavs@gmail.com>.
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Always decode
handle text, falling back on 'undecided' coding system.
parent b663c837
Pipeline #1542 failed with stage
in 54 minutes and 40 seconds
......@@ -472,10 +472,8 @@ If MODE is not set, try to find mode automatically."
(buffer-string)))
(coding-system
(decode-coding-string text coding-system))
(charset
(mm-decode-string text charset))
(t
text)))
(t
(mm-decode-string text (or charset 'undecided)))))
(let ((font-lock-verbose nil) ; font-lock is a bit too verbose.
(enable-local-variables nil))
;; We used to set font-lock-mode-hook to nil to avoid enabling
......
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