From 2ac84056879942fecd9d46a3140a2192e43d2b51 Mon Sep 17 00:00:00 2001 From: yoichi Date: Tue, 19 Apr 2005 14:05:09 +0000 Subject: [PATCH] * lsdb.el (lsdb-wl-temp-buffer-show-function): Don't call get-buffer-window if wl-message-buffer is nil. --- lsdb.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lsdb.el b/lsdb.el index ba39641..2c5fcf4 100644 --- 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) -- 1.7.10.4