Synch to No Gnus 200509270536.
authoryamaoka <yamaoka>
Tue, 27 Sep 2005 05:36:50 +0000 (05:36 +0000)
committeryamaoka <yamaoka>
Tue, 27 Sep 2005 05:36:50 +0000 (05:36 +0000)
lisp/mm-decode.el

index bc75be5..0fc4f4b 100644 (file)
@@ -1051,16 +1051,16 @@ external if displayed external."
 
 (defun mm-insert-part (handle)
   "Insert the contents of HANDLE in the current buffer."
-  (let ((charset (mail-content-type-get (mm-handle-type handle) 'charset)))
-    (save-excursion
-      (insert
-       (cond ((eq charset 'gnus-decoded)
-             (with-current-buffer (mm-handle-buffer handle)
-               (buffer-string)))
-            ((mm-multibyte-p)
-             (mm-string-as-multibyte (mm-get-part handle)))
-            (t
-             (mm-get-part handle)))))))
+  (save-excursion
+    (insert
+     (cond ((eq (mail-content-type-get (mm-handle-type handle) 'charset)
+               'gnus-decoded)
+           (with-current-buffer (mm-handle-buffer handle)
+             (buffer-string)))
+          ((mm-multibyte-p)
+           (mm-string-as-multibyte (mm-get-part handle)))
+          (t
+           (mm-get-part handle))))))
 
 (defun mm-file-name-delete-whitespace (file-name)
   "Remove all whitespace characters from FILE-NAME."