From be6d8c3cd630bb99c8b8e92a27c5476cbaf78773 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Sun, 16 Jan 2000 22:20:34 +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 f5184b0..f767e0d 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