+1999-05-02 Tanaka Akira <akr@jaist.ac.jp>
+
+ * (mime-edit-use-long-mime-charset-comment): Use `defvar' to define.
+
+ * mime-edit.el (mime-edit-define-charset): Check
+ `mime-edit-use-long-mime-charset-comment'.
+
1999-04-30 Shigeru OKUMURA <sokumura@jaist.ac.jp>
* mime-edit.el (mime-edit-use-long-mime-charset-comment):
"A string formatted version of mime-transfer-level")
(make-variable-buffer-local 'mime-transfer-level-string)
-;;
-;; some MUA reject long comment
-;;
+(defvar mime-edit-use-long-mime-charset-comment t
+ "*Use charset comment")
-(if (and (boundp 'mime-edit-use-long-mime-charset-comment)
- mime-edit-use-long-mime-charset-comment)
- (progn
- (put 'iso-2022-jp-2 'mime-charset-comment "RFC1554")
- (put 'iso-2022-jp 'mime-charset-comment "RFC1468 with trivial bugfix")
- )
- )
+(put 'iso-2022-jp-2 'mime-charset-comment "RFC1554")
+(put 'iso-2022-jp 'mime-charset-comment "RFC1468 with trivial bugfix")
-
;;; @@ about content transfer encoding
(defvar mime-content-transfer-encoding-priority-list
(mime-edit-get-contype tag)
"charset"
(let ((comment (get charset 'mime-charset-comment)))
- (if comment
+ (if (and mime-edit-use-long-mime-charset-comment comment)
(concat (upcase (symbol-name charset)) " (" comment ")")
(upcase (symbol-name charset)))))
(mime-edit-get-encoding tag)))