From d0523a2909504f020d61479f5cd00df37fa4f210 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Sun, 16 Jan 2000 22:21:15 +0000 Subject: [PATCH] Sync with semi-1_13. --- ChangeLog | 5 +++++ mime-w3.el | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0ff0940..ac01565 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-01-16 Keiichi Suzuki + + * mime-w3.el (mime-preview-text/html): Don't get root entity from + `mime-entity-buffer'. + 2000-01-05 Katsumi Yamaoka * Makefile, README.en: Update for the new CVS server. diff --git a/mime-w3.el b/mime-w3.el index 6ce9927..80d67ce 100644 --- a/mime-w3.el +++ b/mime-w3.el @@ -47,8 +47,10 @@ (defun mime-preview-text/html (entity situation) (setq mime-w3-message-structure - (with-current-buffer (mime-entity-buffer entity) - mime-message-structure)) + (let ((ent entity)) + (while (not (mime-root-entity-p ent)) + (setq ent (mime-entity-parent ent))) + ent)) (goto-char (point-max)) (let ((p (point))) (insert "\n") -- 1.7.10.4