(mm-inline-text): Fix previous commit.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 27 Sep 2005 05:36:29 +0000 (05:36 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 27 Sep 2005 05:36:29 +0000 (05:36 +0000)
lisp/mm-decode.el

index 6f6df66..8ca1e10 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."