From 836ebc7e23587b5ee733458a2fffdf70f2ed339f Mon Sep 17 00:00:00 2001 From: morioka Date: Sat, 24 Jul 1999 12:11:40 +0000 Subject: [PATCH] Add autoload settings for `mime-entity-content' [to avoid warning]. (mime-insert-text-content): New method of `mime-entity' [moved from mmbuffer.el]. --- mime-def.el | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mime-def.el b/mime-def.el index 6b8effd..c67f413 100644 --- a/mime-def.el +++ b/mime-def.el @@ -215,6 +215,7 @@ (autoload 'mime-entity-content-type "mime") (autoload 'mime-parse-multipart "mime-parse") (autoload 'mime-parse-encapsulated "mime-parse") +(autoload 'mime-entity-content "mime") (luna-define-class mime-entity () (location @@ -250,6 +251,16 @@ )) )) +(luna-define-method mime-insert-text-content ((entity mime-entity)) + (insert + (decode-mime-charset-string (mime-entity-content entity) + (or (mime-content-type-parameter + (mime-entity-content-type entity) + "charset") + default-mime-charset) + 'CRLF) + )) + ;;; @ for mm-backend ;;; -- 1.7.10.4