From: morioka Date: Fri, 20 Mar 1998 06:51:31 +0000 (+0000) Subject: Require mime-view (mime-text.el is autoloaded by mime-view); variable X-Git-Tag: semi-1_1_1~10 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=75d262fc55e7e896b20ae916cda71c1977a25a15;p=elisp%2Fsemi.git Require mime-view (mime-text.el is autoloaded by mime-view); variable `mime-text-decoder-alist' was moved to mime-view.el. --- diff --git a/mime-text.el b/mime-text.el index 7b63a9d..63e859a 100644 --- a/mime-text.el +++ b/mime-text.el @@ -24,6 +24,9 @@ ;;; Code: +(require 'mime-view) + + ;;; @ buffer local variables in raw-buffer ;;; @@ -42,21 +45,6 @@ raw-buffer.") ;;; @ code conversion ;;; -(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) - ) - "Alist of major-mode vs. mime-text-decoder. -Each element looks like (SYMBOL . FUNCTION). SYMBOL is major-mode or -t. t means default. - -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.") - (defun mime-text-decode-buffer (charset &optional encoding) "Decode text of current buffer as CHARSET. It code-converts current buffer from network representation specified