* wl-action.el (wl-summary-set-mark): Fixed last change.
authorteranisi <teranisi>
Tue, 29 Jul 2003 13:37:21 +0000 (13:37 +0000)
committerteranisi <teranisi>
Tue, 29 Jul 2003 13:37:21 +0000 (13:37 +0000)
wl/wl-action.el

index 7697064..c8aa08d 100644 (file)
@@ -64,7 +64,7 @@ Return number if put mark succeed"
         (current (wl-summary-message-number))
         (action (assoc set-mark wl-summary-mark-action-list))
         visible mark cur-mark)
-    (when (elmo-folder-length wl-summary-buffer-elmo-folder)
+    (when (zerop (elmo-folder-length wl-summary-buffer-elmo-folder))
       (error "Set mark failed"))
     (unless current
       (error "No message"))