Fix the last change.
authoryoichi <yoichi>
Sun, 12 Jan 2003 13:36:51 +0000 (13:36 +0000)
committeryoichi <yoichi>
Sun, 12 Jan 2003 13:36:51 +0000 (13:36 +0000)
Get buffer name after calling wl-summary-goto-folder-subr.

wl/wl-folder.el

index f93ceda..1bc79b8 100644 (file)
@@ -501,8 +501,8 @@ Default HASHTB is `wl-folder-elmo-folder-hashtb'."
   (let ((cur-buf (current-buffer))
        (wl-auto-select-first nil)
        trash-buf emptied)
-    (setq trash-buf (wl-summary-get-buffer-create wl-trash-folder))
     (wl-summary-goto-folder-subr wl-trash-folder 'force-update)
+    (setq trash-buf (wl-summary-get-buffer-create wl-trash-folder))
     (if wl-stay-folder-window
        (wl-folder-select-buffer trash-buf)
       (switch-to-buffer trash-buf))