* elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
authoryoichi <yoichi>
Sun, 26 Sep 2004 14:15:06 +0000 (14:15 +0000)
committeryoichi <yoichi>
Sun, 26 Sep 2004 14:15:06 +0000 (14:15 +0000)
deletion.

elmo/ChangeLog
elmo/elmo-imap4.el

index 74f0f18..2ffde2e 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
+
+       * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
+       deletion.
+
 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
 
        * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
index 4bfcebe..6c60bb4 100644 (file)
@@ -2085,7 +2085,8 @@ Return nil if no complete line has arrived."
           session
           (list "delete "
                 (elmo-imap4-mailbox
-                 (elmo-imap4-folder-mailbox-internal folder))))))
+                 (elmo-imap4-folder-mailbox-internal folder)))))
+       (elmo-imap4-session-set-current-mailbox-internal session nil))
       (elmo-msgdb-delete-path folder)
       t)))