]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-show.el
emacs: less guessing of character set in messages
[notmuch] / emacs / notmuch-show.el
index 24db4c70aac6ebb9c4b73a5f12dd74e784bf8058..489e32c8bcafc1a9a3ef467ff45c8f098884f83d 100644 (file)
@@ -203,9 +203,10 @@ For example, if you wanted to remove an \"unread\" tag and add a
      (let ((id (notmuch-show-get-message-id)))
        (let ((buf (generate-new-buffer (concat "*notmuch-msg-" id "*"))))
          (with-current-buffer buf
-           (call-process notmuch-command nil t nil "show" "--format=raw" id)
-           ,@body)
-        (kill-buffer buf)))))
+          (let ((coding-system-for-read 'no-conversion))
+            (call-process notmuch-command nil t nil "show" "--format=raw" id)
+            ,@body)
+          (kill-buffer buf))))))
 
 (defun notmuch-show-turn-on-visual-line-mode ()
   "Enable Visual Line mode."