From 7cdb157846faa67c30f501b0637867103226be22 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Thu, 3 Feb 2005 07:01:40 +0000 Subject: [PATCH] Synch to No Gnus 200502030701. --- lisp/ChangeLog | 5 +++++ lisp/gnus-art.el | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1fc184c..f640f27 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-02-03 Katsumi Yamaoka + + * gnus-art.el (gnus-mime-inline-part): Show the raw contents if a + prefix arg is neither nil nor a number, as info specifies. + 2005-02-02 Katsumi Yamaoka * nntp.el (nntp-marks-changed-p): Use time-less-p to compare the diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el index 0db89d3..ce61994 100644 --- a/lisp/gnus-art.el +++ b/lisp/gnus-art.el @@ -4701,7 +4701,16 @@ are decompressed." (setq charset (or (cdr (assq arg gnus-summary-show-article-charset-alist)) - (mm-read-coding-system "Charset: "))))) + (mm-read-coding-system "Charset: ")))) + (t + (if (mm-handle-undisplayer handle) + (mm-remove-part handle)) + (setq contents + (if (fboundp 'string-to-multibyte) + (string-to-multibyte contents) + (mapconcat + (lambda (ch) (mm-string-as-multibyte (char-to-string ch))) + contents ""))))) (forward-line 2) (mm-insert-inline handle (if (and charset -- 1.7.10.4