* wl-addrmgr.el (wl-addrmgr-quit-yes): Call get-buffer-window with
authorhmurata <hmurata>
Tue, 2 Apr 2002 12:00:22 +0000 (12:00 +0000)
committerhmurata <hmurata>
Tue, 2 Apr 2002 12:00:22 +0000 (12:00 +0000)
2nd argument.

wl/ChangeLog
wl/wl-addrmgr.el

index ae8a8dc..5403a31 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+       * wl-addrmgr.el (wl-addrmgr-quit-yes): Call get-buffer-window with
+       2nd argument.
+
 2002-03-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
 
        * wl-draft.el (wl-draft-create-contents): Don't take neither
index 35ba567..ab97311 100644 (file)
@@ -365,7 +365,7 @@ Return nil if no ADDRESS exists."
   (let ((draft-buffer wl-addrmgr-draft-buffer))
     (if (and draft-buffer
             (buffer-live-p draft-buffer)
-            (null (get-buffer-window draft-buffer)))
+            (null (get-buffer-window draft-buffer 'visible)))
        (switch-to-buffer draft-buffer)
       (unless (one-window-p)
        (delete-window)))