* mime-view.el (mime-display-entity): Fix handling of
authorhayashi <hayashi>
Fri, 28 Jan 2000 12:01:30 +0000 (12:01 +0000)
committerhayashi <hayashi>
Fri, 28 Jan 2000 12:01:30 +0000 (12:01 +0000)
inline Content-Disposition.

ChangeLog
mime-view.el

index 51379c3..830d996 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-01-28  Yoshiki Hayashi  <yoshiki@xemacs.org>
+
+       * mime-view.el (mime-display-entity): Fix handling of
+       inline Content-Disposition.
+
 2000-01-20  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
 
        * mime-edit.el (mime-edit-user-agent-value): Add apel-version.
index 796be07..84b8bb9 100644 (file)
@@ -1116,11 +1116,11 @@ With prefix, it prompts for coding-system."
                   (memq (mime-view-entity-type/subtype entity)
                         mime-view-force-inline-types)
                   ;; whether Content-Disposition header exists.
-                  (not (and
-                        (mime-entity-content-disposition entity)
-                        (eq 'inline
-                            (mime-content-disposition-type
-                             (mime-entity-content-disposition entity)))))))
+                  (and
+                   (mime-entity-content-disposition entity)
+                   (eq 'inline
+                       (mime-content-disposition-type
+                        (mime-entity-content-disposition entity))))))
          ;; This is attachment
          (setq header-is-visible nil
                body-is-visible nil))