From e1fd5fef73492f71c2ae347320c3aebbafd5c141 Mon Sep 17 00:00:00 2001 From: morioka Date: Fri, 15 May 1998 20:56:07 +0000 Subject: [PATCH] (mime-view-display-entity): fixed. --- mime-view.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 -- 1.7.10.4