From: ueno Date: Mon, 24 Sep 2001 12:04:46 +0000 (+0000) Subject: * mime-view.el (mime-preview-toggle-display): When both "type" and X-Git-Tag: emiko-1_14_0~9 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99607dd1ab66601d60b8b40d7aec02b3773a57b8;p=elisp%2Fsemi.git * mime-view.el (mime-preview-toggle-display): When both "type" and "*type" conditions are not specified, the entity should be regarded as invisible. --- diff --git a/mime-view.el b/mime-view.el index 582c81e..8d2bb16 100644 --- a/mime-view.el +++ b/mime-view.el @@ -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)