(mh-display-msg): Use `raw-text-insert-file-contents' instead of
authortomo <tomo>
Tue, 19 Dec 2000 05:25:18 +0000 (05:25 +0000)
committertomo <tomo>
Tue, 19 Dec 2000 05:25:18 +0000 (05:25 +0000)
`insert-file-contents-as-raw-text'; use `mime-decode-header-in-buffer'
instead of `eword-decode-header'.
(emh-request-partial-message): Use `raw-text-insert-file-contents'
instead of `insert-file-contents-as-raw-text'.

mime/emh.el

index 22a2d7e..084ffa2 100644 (file)
@@ -104,7 +104,7 @@ nil, `emh-automatic-mime-preview' is used as default value."
                   (set-buffer abuf)
                   (set-buffer-multibyte nil)
                   )
-                (insert-file-contents-as-raw-text msg-filename)
+                (raw-text-insert-file-contents msg-filename)
                 (set-buffer-modified-p nil)
                 (setq buffer-read-only t)
                 (setq buffer-file-name msg-filename)
@@ -135,8 +135,7 @@ nil, `emh-automatic-mime-preview' is used as default value."
                     (t
                      (mh-start-of-uncleaned-message)))
               (if emh-decode-encoded-word
-                  (eword-decode-header)
-                )
+                  (mime-decode-header-in-buffer))
               (set-buffer-modified-p nil)
               (setq buffer-read-only t)
               (setq buffer-file-name msg-filename)
@@ -287,7 +286,7 @@ digest are inserted into the folder after that message."
     (set-buffer (get-buffer-create " *Partial Article*"))
     (erase-buffer)
     (setq mime-preview-buffer show-buffer)
-    (insert-file-contents-as-raw-text msg-filename)
+    (raw-text-insert-file-contents msg-filename)
     (mime-parse-buffer)
     ))