X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-show.el;h=034db87e552d696983c918614bc5ca7940346ece;hp=2806879e53cfff412e07c4b175478f8ed728998e;hb=647c2509897e8a7cf12dba1a6ee81f8bb6e53b4d;hpb=e40c01bb14e0b3ee0d699c697f3800a092e6bb6c diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 2806879e..034db87e 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -328,7 +328,8 @@ message at DEPTH in the current thread." current buffer, if possible." (let ((display-buffer (current-buffer))) (with-temp-buffer - (let ((handle (mm-make-handle (current-buffer) (list content-type)))) + (let* ((charset (plist-get part :content-charset)) + (handle (mm-make-handle (current-buffer) `(,content-type (charset . ,charset))))) (if (and (mm-inlinable-p handle) (mm-inlined-p handle)) (let ((content (notmuch-show-get-bodypart-content msg part nth)))