update.
[elisp/apel.git] / emu-20.el
index 64e09e1..a6e0e92 100644 (file)
--- a/emu-20.el
+++ b/emu-20.el
@@ -30,6 +30,7 @@
 ;;; Code:
 
 (require 'custom)
+(eval-when-compile (require 'wid-edit))
 
 
 ;;; @ binary access
@@ -70,7 +71,7 @@ This constant is defined to emulate old MULE anything older than MULE
 ;;; @ MIME charset
 ;;;
 
-(defvar mime-charset-coding-system-alist
+(defcustom mime-charset-coding-system-alist
   `,(let ((rest
           '((us-ascii      . iso-8859-1)
             (gb2312        . cn-gb-2312)
@@ -87,7 +88,9 @@ This constant is defined to emulate old MULE anything older than MULE
        )
       dest)
   "Alist MIME CHARSET vs CODING-SYSTEM.
-MIME CHARSET and CODING-SYSTEM must be symbol.")
+MIME CHARSET and CODING-SYSTEM must be symbol."
+  :group 'i18n
+  :type '(repeat (cons symbol coding-system)))
 
 (defsubst mime-charset-to-coding-system (charset &optional lbt)
   "Return coding-system corresponding with CHARSET.