2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+ * wl-spam.el (wl-summary-mark-spam): Show message only if call
+ interactively.
+
* wl-summary.el (wl-summary-mark-as-important-internal): New
internal function.
(wl-summary-mark-as-important): Use it.
(when (wl-spam-auto-check-message-p wl-summary-buffer-elmo-folder
number)
(setq numbers (cons number numbers)))))
- (if numbers
- (wl-spam-map-spam-messages wl-summary-buffer-elmo-folder
- numbers
- #'wl-summary-spam)
- (message "No message to test."))))
+ (cond (numbers
+ (wl-spam-map-spam-messages wl-summary-buffer-elmo-folder
+ numbers
+ #'wl-summary-spam))
+ ((interactive-p)
+ (message "No message to test.")))))
(defun wl-summary-register-as-spam ()
(interactive)