emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 24a1d5a: Fix Gnus inline attachment decoding (bug#3


From: Basil L. Contovounesios
Subject: [Emacs-diffs] master 24a1d5a: Fix Gnus inline attachment decoding (bug#35507)
Date: Fri, 3 May 2019 09:52:09 -0400 (EDT)

branch: master
commit 24a1d5a0b5c0debd8256d71242bfa6f8448bf5af
Author: Basil L. Contovounesios <address@hidden>
Commit: Basil L. Contovounesios <address@hidden>

    Fix Gnus inline attachment decoding (bug#35507)
    
    Proposed by Andy Moreton <address@hidden>
    and Noam Postavsky <address@hidden>.
    * lisp/gnus/mm-view.el (mm-display-inline-fontify): Always decode
    handle text, falling back on 'undecided' coding system.
---
 lisp/gnus/mm-view.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
index 1e1d264..8494882 100644
--- a/lisp/gnus/mm-view.el
+++ b/lisp/gnus/mm-view.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]