`with-current-buffer' instead of `save-excursion' (for suppress
compile warnings).
2010-01-04 TAKAHASHI Kaoru <kaoru@kaisei.org>
+ * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
+ `with-current-buffer' instead of `save-excursion' (for suppress
+ compile warnings).
+
* elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
instead of `int-to-string'.
* elmo-archive.el (elmo-archive-message-fetch-internal)
(t
elmo-mime-header-max-column)))
vf-alist)
- (save-excursion
- (set-buffer buffer)
+ (with-current-buffer buffer
(save-restriction
(narrow-to-region start end)
(goto-char start)
(throw 'done t))
(when (string-match re df)
(throw 'done nil)))
- t))))))
- (set-buffer the-buf)
+ t)))))))
+ (set-buffer the-buf) ; verbose. remove me.
+ (save-excursion
(while vf-alist
(let* ((vf (car vf-alist))
(field-name (nth 0 vf))