From 75d262fc55e7e896b20ae916cda71c1977a25a15 Mon Sep 17 00:00:00 2001 From: morioka Date: Fri, 20 Mar 1998 06:51:31 +0000 Subject: [PATCH] Require mime-view (mime-text.el is autoloaded by mime-view); variable `mime-text-decoder-alist' was moved to mime-view.el. --- mime-text.el | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) 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 -- 1.7.10.4