Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
112389:75fb060ecbc3 | 112390:1b25cd6a6e36 |
---|---|
5247 (mm-read-coding-system "Charset: ")))) | 5247 (mm-read-coding-system "Charset: ")))) |
5248 (t | 5248 (t |
5249 (if (mm-handle-undisplayer handle) | 5249 (if (mm-handle-undisplayer handle) |
5250 (mm-remove-part handle)))) | 5250 (mm-remove-part handle)))) |
5251 (forward-line 2) | 5251 (forward-line 2) |
5252 (mm-insert-inline | 5252 (mm-display-inline handle) |
5253 handle | |
5254 (if (or coding-system | |
5255 (and charset | |
5256 (setq coding-system | |
5257 (mm-charset-to-coding-system charset)) | |
5258 (not (eq coding-system 'ascii)))) | |
5259 (mm-decode-coding-string contents coding-system) | |
5260 (mm-string-to-multibyte contents))) | |
5261 (goto-char b))))) | 5253 (goto-char b))))) |
5262 | 5254 |
5263 (defun gnus-mime-set-charset-parameters (handle charset) | 5255 (defun gnus-mime-set-charset-parameters (handle charset) |
5264 "Set CHARSET to parameters in HANDLE. | 5256 "Set CHARSET to parameters in HANDLE. |
5265 CHARSET may either be a string or a symbol." | 5257 CHARSET may either be a string or a symbol." |