From becce64862509150770a62b3655c9d697687725d Mon Sep 17 00:00:00 2001 From: morioka Date: Tue, 2 Jun 1998 17:10:49 +0000 Subject: [PATCH] (mime-raw-representation-type-alist): New variable; abolish `mime-text-decoder-alist'. --- mime-view.el | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/mime-view.el b/mime-view.el index 03bdcbf..c7d37ff 100644 --- a/mime-view.el +++ b/mime-view.el @@ -459,20 +459,17 @@ Each elements are regexp of field-name.") (autoload 'mime-preview-text/enriched "mime-text") (autoload 'mime-preview-text/richtext "mime-text") -(defvar mime-text-decoder-alist - '((mime-show-message-mode . mime-text-decode-buffer) - (mime-temp-message-mode . mime-text-decode-buffer) - (t . mime-text-decode-buffer-maybe) +(defvar mime-raw-representation-type-alist + '((mime-show-message-mode . binary) + (mime-temp-message-mode . binary) + (t . cooked) ) - "Alist of major-mode vs. mime-text-decoder. -Each element looks like (SYMBOL . FUNCTION). SYMBOL is major-mode or -t. t means default. + "Alist of major-mode vs. presentation-type of mime-raw-buffer. +Each element looks like (SYMBOL . MODE). SYMBOL is major-mode or t. +t means default. MODE must be `binary' or `cooked'. -Specification of FUNCTION is described in DOC-string of variable -`mime-text-decoder'. - -This value is overridden by buffer local variable `mime-text-decoder' -if it is not nil.") +This value is overridden by buffer local variable +`mime-raw-representation-type' if it is not nil.") (defvar mime-view-announcement-for-message/partial -- 1.7.10.4