From c4ef626c633323d2aa23e3a32804dda6ac588c3a Mon Sep 17 00:00:00 2001 From: morioka Date: Sun, 17 May 1998 03:12:14 +0000 Subject: [PATCH] (mime-view-display-message): fixed. --- mime-view.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mime-view.el b/mime-view.el index 48e5abb..fdaa2fa 100644 --- a/mime-view.el +++ b/mime-view.el @@ -769,10 +769,12 @@ The compressed face will be piped to this command.") (run-hooks 'mime-view-content-header-filter-hook) ) (let* ((situation - (ctree-match-calist mime-preview-condition - (list* (cons 'major-mode major-mode) - (cons 'encoding encoding) - content-type))) + (ctree-match-calist + mime-preview-condition + (list* (cons 'major-mode major-mode) + (cons 'encoding encoding) + (or content-type + (make-mime-content-type 'text 'plain))))) (message-button (cdr (assq 'message-button situation))) (body-presentation-method -- 1.7.10.4