From: morioka Date: Sat, 23 Jan 1999 17:49:43 +0000 (+0000) Subject: (mime-view-message/rfc822): Use `mime-insert-entity'. X-Git-Tag: semi-1_13-199901231900~5 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=29233dc79e47438a0f32152d08cdaf17c5db8387;p=elisp%2Fsemi.git (mime-view-message/rfc822): Use `mime-insert-entity'. --- diff --git a/mime-play.el b/mime-play.el index 110792f..a78389d 100644 --- a/mime-play.el +++ b/mime-play.el @@ -497,9 +497,7 @@ It is registered to variable `mime-preview-quitting-method-alist'." (children (car (mime-entity-children entity)))) (set-buffer (get-buffer-create new-name)) (erase-buffer) - (insert-buffer-substring (mime-entity-buffer children) - (mime-entity-point-min children) - (mime-entity-point-max children)) + (mime-insert-entity children) (setq mime-message-structure children) (setq major-mode 'mime-show-message-mode) (mime-view-buffer (current-buffer) nil mother