2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+ * wl-draft.el (wl-draft-yank-from-mail-reply-buffer): Convert to
+ multibyte string before insert into draft buffer.
+ (wl-draft-create-buffer): Always enable multibyte characters for
+ draft buffer.
+
* Version number is increased to 2.11.28.
2004-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
(save-restriction
(narrow-to-region (point)(point))
(insert
- (with-current-buffer mail-reply-buffer
- (when decode-it
- (decode-mime-charset-region (point-min) (point-max)
- wl-mime-charset))
- (buffer-substring-no-properties
- (point-min) (point-max))))
+ (string-as-multibyte
+ (with-current-buffer mail-reply-buffer
+ (when decode-it
+ (decode-mime-charset-region (point-min) (point-max)
+ wl-mime-charset))
+ (buffer-substring-no-properties
+ (point-min) (point-max)))))
(when ignored-fields
(goto-char (point-min))
(wl-draft-delete-fields ignored-fields))
(error "Invalid value for wl-draft-buffer-style"))))))
(auto-save-mode -1)
(wl-draft-mode)
+ (set-buffer-multibyte t) ; draft buffer is always multibyte.
(make-local-variable 'truncate-partial-width-windows)
(setq truncate-partial-width-windows nil)
(setq truncate-lines wl-draft-truncate-lines)