From: morioka Date: Sat, 24 Jul 1999 12:11:40 +0000 (+0000) Subject: Add autoload settings for `mime-entity-content' [to avoid warning]. X-Git-Tag: flim-1_13_2~23 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=836ebc7e23587b5ee733458a2fffdf70f2ed339f;p=elisp%2Fflim.git Add autoload settings for `mime-entity-content' [to avoid warning]. (mime-insert-text-content): New method of `mime-entity' [moved from mmbuffer.el]. --- 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 ;;;