(mh-display-msg): Use `8bit-insert-encoded-file' instead of
authortomo <tomo>
Mon, 25 Dec 2000 09:05:50 +0000 (09:05 +0000)
committertomo <tomo>
Mon, 25 Dec 2000 09:05:50 +0000 (09:05 +0000)
`raw-text-insert-file-contents'.

emh.el

diff --git a/emh.el b/emh.el
index efa3f27..394d660 100644 (file)
--- a/emh.el
+++ b/emh.el
@@ -98,21 +98,18 @@ nil, `emh-automatic-mime-preview' is used as default value."
                     (progn
                       (set-buffer abuf)
                       (setq buffer-read-only nil)
-                      (erase-buffer)
-                      )
+                      (erase-buffer))
                   (setq abuf (get-buffer-create aname))
                   (set-buffer abuf)
-                  (set-buffer-multibyte nil)
-                  )
-                (raw-text-insert-file-contents msg-filename)
+                  (set-buffer-multibyte nil))
+                (8bit-insert-encoded-file msg-filename)
                 (set-buffer-modified-p nil)
                 (setq buffer-read-only t)
                 (setq buffer-file-name msg-filename)
                 (mh-show-mode)
                 (mime-display-message (mime-open-entity 'buffer aname)
                                       (concat "show-" folder))
-                (goto-char (point-min))
-                )
+                (goto-char (point-min)))
             (let ((clean-message-header mh-clean-message-header)
                   (invisible-headers mh-invisible-headers)
                   (visible-headers mh-visible-headers))