From f8faab64e9765a035c5448c9a89367655fa89425 Mon Sep 17 00:00:00 2001 From: hmurata Date: Sun, 24 Oct 2004 09:24:47 +0000 Subject: [PATCH] (wl-spam-setup): Add hook `wl-summary-auto-check-spam' to `wl-summary-sync-updated-hook' instead of `wl-summary-prepare-hook'. --- wl/ChangeLog | 4 ++++ wl/wl-spam.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wl/ChangeLog b/wl/ChangeLog index 1905757..e917c93 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,5 +1,9 @@ 2004-10-24 Hiroya Murata + * wl-spam.el (wl-spam-setup): Add hook + `wl-summary-auto-check-spam' to `wl-summary-sync-updated-hook' + instead of `wl-summary-prepare-hook'. + * wl-summary.el (wl-summary-set-flags): Allow flag operation even if folder type is `'flag'. (wl-summary-mark-as-important): Ditto. diff --git a/wl/wl-spam.el b/wl/wl-spam.el index 1986171..690242b 100644 --- a/wl/wl-spam.el +++ b/wl/wl-spam.el @@ -332,7 +332,7 @@ See `wl-summary-mark-action-list' for the detail of element." wl-spam-folder)) (defun wl-spam-setup () - (add-hook 'wl-summary-prepared-hook #'wl-summary-auto-check-spam) + (add-hook 'wl-summary-sync-updated-hook #'wl-summary-auto-check-spam) (let ((actions wl-summary-mark-action-list) action) (while actions -- 1.7.10.4