From: hmurata Date: Sun, 24 Oct 2004 09:24:47 +0000 (+0000) Subject: (wl-spam-setup): Add hook X-Git-Tag: wl-2_12-root~52 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=f8faab64e9765a035c5448c9a89367655fa89425;p=elisp%2Fwanderlust.git (wl-spam-setup): Add hook `wl-summary-auto-check-spam' to `wl-summary-sync-updated-hook' instead of `wl-summary-prepare-hook'. --- 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