Inversed condition was accidently used in last patch.
authorvitaly <vitaly>
Tue, 19 Jan 2010 15:02:41 +0000 (15:02 +0000)
committervitaly <vitaly>
Tue, 19 Jan 2010 15:02:41 +0000 (15:02 +0000)
mime-view.el

index fb11744..89a760c 100644 (file)
@@ -1095,7 +1095,7 @@ MEDIA-TYPE must be (TYPE . SUBTYPE), TYPE or t.  t means default."
        (setq situation
              (mime-find-entity-preview-situation entity default-situation)))
     (let ((button-is-invisible
-          (or mime-view-buttons-visible
+          (or (not mime-view-buttons-visible)
               (eq (cdr (or (assq '*entity-button situation)
                            (assq 'entity-button situation)))
                   'invisible)))