* mime-view.el (mime-preview-toggle-display): When both "type" and
authorueno <ueno>
Mon, 24 Sep 2001 12:04:46 +0000 (12:04 +0000)
committerueno <ueno>
Mon, 24 Sep 2001 12:04:46 +0000 (12:04 +0000)
"*type" conditions are not specified, the entity should be regarded
as invisible.

mime-view.el

index 582c81e..8d2bb16 100644 (file)
@@ -1718,9 +1718,9 @@ If LINES is negative, scroll up LINES lines."
          (display)
          (t
           (setq display
-                (eq (cdr (or (assq sym situation)
-                             (assq type situation)))
-                    'invisible))))
+                (memq (cdr (or (assq sym situation)
+                               (assq type situation)))
+                      '(nil invisible)))))
     (setq situation (put-alist sym (if display
                                       'visible
                                     'invisible)