From: tomo Date: Wed, 21 Jun 2000 12:35:17 +0000 (+0000) Subject: (mime-preview-text/html): Use `mime-find-root-entity'. X-Git-Tag: emacs-21_0_90-semi-remi-1_14_2-0~18 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=223eadfd8bc22c1351a6a9fe8a5b281bd8f61616;p=elisp%2Fsemi.git (mime-preview-text/html): Use `mime-find-root-entity'. --- diff --git a/mime-w3.el b/mime-w3.el index 6ce9927..6d31176 100644 --- a/mime-w3.el +++ b/mime-w3.el @@ -46,9 +46,7 @@ (defvar mime-w3-message-structure nil) (defun mime-preview-text/html (entity situation) - (setq mime-w3-message-structure - (with-current-buffer (mime-entity-buffer entity) - mime-message-structure)) + (setq mime-w3-message-structure (mime-find-root-entity entity)) (goto-char (point-max)) (let ((p (point))) (insert "\n")