Use with-current-buffer.
* elmo-mime.el (elmo-mime-display-as-is-internal):
Adjust buffer-multibyte status.
+2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo-mime.el (elmo-mime-display-as-is-internal):
+ Adjust buffer-multibyte status.
+
2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
* elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
(setq major-mode 'mime-view-mode)
(setq mode-name "MIME-View")
+ ;; Humm...
+ (set-buffer-multibyte nil)
(mime-insert-entity message)
- ;(insert (mime-entity-body message))
- ;(insert (mime-entity-body message))
-
+ (set-buffer-multibyte t)
(decode-coding-region (point-min) (point-max) 'undecided)
-
(save-restriction
(std11-narrow-to-header)
(run-hooks 'elmo-message-header-inserted-hook))
-; (mime-display-entity message nil
-; `((entity-button . invisible)
-; (header . visible)
-; (major-mode . ,original-major-mode))
-; preview-buffer)
-
(use-local-map
(or keymap
(if default-keymap-or-function
+2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * wl-draft.el (wl-draft-yank-from-mail-reply-buffer):
+ Use with-current-buffer.
+
2001-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* wl-score.el (wl-score-insert-help): Check `wl-message-buffer'
(save-restriction
(narrow-to-region (point)(point))
(insert
- (save-excursion
- (set-buffer mail-reply-buffer)
+ (with-current-buffer mail-reply-buffer
(when decode-it
(decode-mime-charset-region (point-min) (point-max)
wl-mime-charset))