(wl-trash-folder): Added to `wl-setting' group.
* elmo-mime.el (elmo-mime-display-as-is-coding-system): New user option.
(elmo-mime-display-as-is-internal): Use it.
 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
 
+       * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
+       option.
+       (elmo-mime-display-as-is-internal): Use it.
+
        * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
        if `read-passwd' is not defined.
 
 
                 (function :tag "Function"))
   :group 'elmo)
 
+(defcustom elmo-mime-display-as-is-coding-system (if (boundp 'MULE)
+                                                    '*autoconv* 'undecided)
+  "*Coding system used when message is displayed as is."
+  :type 'symbol
+  :group 'elmo)
+
 (luna-define-method initialize-instance :after ((entity mime-elmo-buffer-entity)
                                                &rest init-args)
   entity)
       (set-buffer-multibyte nil)
       (mime-insert-entity message)
       (set-buffer-multibyte t)
-      (decode-coding-region (point-min) (point-max) 'undecided)
+      (decode-coding-region (point-min) (point-max)
+                           elmo-mime-display-as-is-coding-system)
       (save-restriction
        (std11-narrow-to-header)
        (run-hooks 'elmo-message-header-inserted-hook))
 
 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
 
+       * wl-vars.el (toplevel): Require 'custom.
+       (wl-trash-folder): Added to `wl-setting' group.
+
        * wl-addrmgr.el (wl-addrmgr-goto-top): Fixed problem when no entry
        exists.
        (wl-addrmgr-draw): Insert empty line when no entry exists.
 
 
 (require 'elmo-vars)
 (require 'elmo-util)
-
-(if (module-installed-p 'custom)
-    (require 'custom))
+(require 'custom)
 
 ;;; Customizable Variables
 
 (defcustom wl-trash-folder "+trash"
   "*Trash folder"
   :type 'string
-  :group 'wl)
+  :group 'wl
+  :group 'wl-setting)
 (defcustom wl-queue-folder "+queue"
   "*Queue folder"
   :type 'string