* lsdb.el (lsdb-wl-temp-buffer-show-function): Don't call
authoryoichi <yoichi>
Tue, 19 Apr 2005 14:05:09 +0000 (14:05 +0000)
committeryoichi <yoichi>
Tue, 19 Apr 2005 14:05:09 +0000 (14:05 +0000)
get-buffer-window if wl-message-buffer is nil.

lsdb.el

diff --git a/lsdb.el b/lsdb.el
index ba39641..2c5fcf4 100644 (file)
--- a/lsdb.el
+++ b/lsdb.el
@@ -1593,7 +1593,8 @@ always hide."
                           (or (save-excursion
                                 (if (buffer-live-p wl-current-summary-buffer)
                                     (set-buffer wl-current-summary-buffer))
-                                (get-buffer-window wl-message-buffer))
+                                (and wl-message-buffer
+                                     (get-buffer-window wl-message-buffer)))
                               (get-largest-window)))
                          (split-window-vertically)))))
        (set-window-buffer window buffer)