From b84bfc119fc38a1cc50f1fd62c2a935bb1159e07 Mon Sep 17 00:00:00 2001 From: teranisi Date: Tue, 18 Dec 2001 04:24:20 +0000 Subject: [PATCH] * wl-summary.el (wl-summary-exit): Changed order of saving summary view and msgdb. * wl.el (wl-toggle-plugged): Save summary view. --- wl/ChangeLog | 7 +++++++ wl/wl-summary.el | 2 +- wl/wl.el | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/wl/ChangeLog b/wl/ChangeLog index 3eec12c..8d4ba69 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,3 +1,10 @@ +2001-12-18 Yuuichi Teranishi + + * wl-summary.el (wl-summary-exit): Changed order of saving summary view + and msgdb. + + * wl.el (wl-toggle-plugged): Save summary view. + 2001-12-17 Yuuichi Teranishi * wl-summary.el (wl-summary-open-folder): Bind `elmo-mime-charset'. diff --git a/wl/wl-summary.el b/wl/wl-summary.el index 6cef744..7a2713d 100644 --- a/wl/wl-summary.el +++ b/wl/wl-summary.el @@ -1026,11 +1026,11 @@ Entering Folder mode calls the value of `wl-summary-mode-hook'." (unwind-protect ;; save summary status (progn + (wl-summary-save-view) (if (or force-exit (not sticky)) (elmo-folder-close wl-summary-buffer-elmo-folder) (elmo-folder-commit wl-summary-buffer-elmo-folder) (elmo-folder-check wl-summary-buffer-elmo-folder)) - (wl-summary-save-view) (if wl-use-scoring (wl-score-save))) ;; for sticky summary (wl-delete-all-overlays) diff --git a/wl/wl.el b/wl/wl.el index 87bef00..98035ca 100644 --- a/wl/wl.el +++ b/wl/wl.el @@ -102,8 +102,8 @@ (let ((summaries (wl-collect-summary))) (while summaries (set-buffer (pop summaries)) - (elmo-folder-commit wl-summary-buffer-elmo-folder) - (wl-summary-set-message-modified)))) + (wl-summary-save-view) + (elmo-folder-commit wl-summary-buffer-elmo-folder)))) (setq wl-biff-check-folders-running nil) (if wl-plugged (progn -- 1.7.10.4