2009-05-26 Vitaly Mayatskikh <v.mayatskih@gmail.com>
authorkaoru <kaoru>
Tue, 26 May 2009 21:26:07 +0000 (21:26 +0000)
committerkaoru <kaoru>
Tue, 26 May 2009 21:26:07 +0000 (21:26 +0000)
* elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
mime-view when displaying malformed base64 attach.

elmo/ChangeLog
elmo/elmo-mime.el

index 132dd45..9eda801 100644 (file)
@@ -2,6 +2,9 @@
 
        * elmo-util.el (elmo-union): New function, make a union of two lists.
 
+        * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
+       mime-view when displaying malformed base64 attach.
+
 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
 
        * elmo-version.el (elmo-version): Up to 2.15.7.
index 5ccc1d2..c9c1028 100644 (file)
@@ -80,7 +80,8 @@ use for keymap of representation buffer.")
                                              &optional
                                              original-major-mode
                                              keymap)
-  (let ((elmo-message-displaying t))
+  (let ((elmo-message-displaying t)
+       (default-mime-charset 'x-unknown))
     (mime-display-message entity
                          preview-buffer
                          nil