(mime-preview-text/html): Use `mime-find-root-entity'.
authortomo <tomo>
Wed, 21 Jun 2000 12:35:17 +0000 (12:35 +0000)
committertomo <tomo>
Wed, 21 Jun 2000 12:35:17 +0000 (12:35 +0000)
mime-w3.el

index 6ce9927..6d31176 100644 (file)
@@ -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")