Mercurial > emacs
diff lisp/gnus/gnus-art.el @ 112390:1b25cd6a6e36
mm-decode.el (mm-inline-media-tests): Add text/x-sh.
gnus-art.el (gnus-mime-inline-part): Use mm-display-inline rather than mm-insert-inline to insert inline part: this respect mm-inline-media-tests displayers.
mm-view.el (mm-display-shell-script-inline): New function.
mm-decode.el (mm-inline-media-tests): Add x-shellscript and x-sh.
mm-uu.el (mm-uu-type-alist): Add org block.
(mm-uu-org-src-code-block-extract): New function.
mm-view.el (mm-display-org-inline): New function.
mm-decode.el (mm-automatic-display): Add text/org.
mailcap.el (mailcap-mime-extensions): Add .org.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Thu, 20 Jan 2011 23:43:27 +0000 |
parents | f279fb6c0f32 |
children | f7e256e5ea88 |
line wrap: on
line diff
--- a/lisp/gnus/gnus-art.el Thu Jan 20 17:36:12 2011 -0500 +++ b/lisp/gnus/gnus-art.el Thu Jan 20 23:43:27 2011 +0000 @@ -5249,15 +5249,7 @@ (if (mm-handle-undisplayer handle) (mm-remove-part handle)))) (forward-line 2) - (mm-insert-inline - handle - (if (or coding-system - (and charset - (setq coding-system - (mm-charset-to-coding-system charset)) - (not (eq coding-system 'ascii)))) - (mm-decode-coding-string contents coding-system) - (mm-string-to-multibyte contents))) + (mm-display-inline handle) (goto-char b))))) (defun gnus-mime-set-charset-parameters (handle charset)