* wl-draft.el (wl-draft-add-in-reply-to, wl-draft-delete): Ditto.
* wl-draft.el (wl-draft-send-mail-with-smtp, wl-draft-send)
(wl-draft-do-fcc): Ditto.
+ * wl-score.el (wl-score-insert-help, wl-score-edit-get-header)
+ (wl-score-edit-insert-number): Ditto.
* wl-draft.el (wl-draft-do-fcc): Use `with-temp-buffer'.
(setq wl-score-help-winconf (current-window-configuration))
(let ((cur-win (selected-window))
mes-win)
- (save-excursion
- (set-buffer (get-buffer-create "*Score Help*"))
+ (with-current-buffer (get-buffer-create "*Score Help*")
(buffer-disable-undo (current-buffer))
(delete-windows-on (current-buffer))
(erase-buffer)
(let ((sum-buf (wl-score-edit-get-summary-buf))
(index (nth 2 (assoc header wl-score-header-index))))
(when (and sum-buf index)
- (save-excursion
- (set-buffer sum-buf)
+ (with-current-buffer sum-buf
(wl-score-get-header header extra)))))
(defun wl-score-edit-insert-number ()
(let ((sum-buf (wl-score-edit-get-summary-buf))
num)
(when sum-buf
- (if (setq num (save-excursion
- (set-buffer sum-buf)
+ (if (setq num (with-current-buffer sum-buf
(wl-summary-message-number)))
(prin1 num (current-buffer))))))