* wl-action.el (wl-summary-set-action-refile): Don't proceed if
authoryoichi <yoichi>
Wed, 7 Jan 2004 14:20:40 +0000 (14:20 +0000)
committeryoichi <yoichi>
Wed, 7 Jan 2004 14:20:40 +0000 (14:20 +0000)
destination folder is empty.

wl/ChangeLog
wl/wl-action.el

index 88e9e8f..26cd807 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
+
+       * wl-action.el (wl-summary-set-action-refile): Don't proceed if
+       destination folder is empty.
+
 2004-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
 
        * wl-summary.el (wl-summary-buffer-prev-copy-destination): Abolish.
index fe0a28d..980be79 100644 (file)
@@ -434,6 +434,8 @@ Return number if put mark succeed"
 
 ;; Refile action
 (defun wl-summary-set-action-refile (number mark data)
+  (when (null data)
+    (error "Destination folder is empty"))
   (let ((policy (wl-get-assoc-list-value wl-refile-policy-alist
                                         (wl-summary-buffer-folder-name)))
        (elem wl-summary-mark-action-list))