From: morioka Date: Fri, 15 May 1998 20:56:07 +0000 (+0000) Subject: (mime-view-display-entity): fixed. X-Git-Tag: remi-1_4_0~10 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1fd5fef73492f71c2ae347320c3aebbafd5c141;p=elisp%2Fsemi.git (mime-view-display-entity): fixed. --- diff --git a/mime-view.el b/mime-view.el index 38b4f38..ed31569 100644 --- a/mime-view.el +++ b/mime-view.el @@ -838,10 +838,12 @@ The compressed face will be piped to this command.") ) (let* ((situation (ctree-match-calist mime-preview-condition - (append content-type - (list* (cons 'encoding encoding) - (cons 'major-mode major-mode) - default-situation)))) + (append + (or content-type + (make-mime-content-type 'text 'plain)) + (list* (cons 'encoding encoding) + (cons 'major-mode major-mode) + default-situation)))) (button-is-invisible (eq (cdr (assq 'entity-button situation)) 'invisible)) (header-is-visible