From: yoichi Date: Sat, 24 Jul 2004 05:03:53 +0000 (+0000) Subject: * mime-view.el (mime-display-multipart/related): Do nothing when X-Git-Tag: semi-1_14-wl-root~40 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=bb5547109f0b264b10b7f99305473cff3d345ea3;p=elisp%2Fsemi.git * mime-view.el (mime-display-multipart/related): Do nothing when the part is not found. --- diff --git a/ChangeLog b/ChangeLog index 5276696..e0937bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-07-24 Yoichi NAKAYAMA + + * mime-view.el (mime-display-multipart/related): Do nothing when + the part is not found. + 2004-04-18 TAKAHASHI Kaoru * mime-edit.el (mime-file-types): Add application/pdf. Use base64 diff --git a/mime-view.el b/mime-view.el index 41d4329..10b945f 100644 --- a/mime-view.el +++ b/mime-view.el @@ -939,10 +939,11 @@ MEDIA-TYPE must be (TYPE . SUBTYPE), TYPE or t. t means default." (car (mime-entity-children entity)))) (original-major-mode-cell (assq 'major-mode situation)) (default-situation (cdr (assq 'childrens-situation situation)))) - (if original-major-mode-cell - (setq default-situation - (cons original-major-mode-cell default-situation))) - (mime-display-entity start nil default-situation))) + (when start + (if original-major-mode-cell + (setq default-situation + (cons original-major-mode-cell default-situation))) + (mime-display-entity start nil default-situation)))) ;;; @ acting-condition ;;;