+2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
+ against non-exsisting charset.
+
2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
* elmo-util.el (elmo-mime-string): Eliminate needless binding;
default-mime-charset
extra field-body charset)
(elmo-set-buffer-multibyte default-enable-multibyte-characters)
- (setq message-id (elmo-msgdb-get-message-id-from-buffer)
- charset (intern-soft (cdr (assoc "charset"
- (mime-read-Content-Type)))))
- (if charset (setq default-mime-charset charset))
+ (setq message-id (elmo-msgdb-get-message-id-from-buffer))
+ (and (setq charset (cdr (assoc "charset" (mime-read-Content-Type))))
+ (setq charset (intern-soft charset))
+ (setq default-mime-charset charset))
(setq references
(or (elmo-msgdb-get-last-message-id
(elmo-field-body "in-reply-to"))