From: yoichi Date: Tue, 19 Apr 2005 14:05:09 +0000 (+0000) Subject: * lsdb.el (lsdb-wl-temp-buffer-show-function): Don't call X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=2ac84056879942fecd9d46a3140a2192e43d2b51;p=elisp%2Flsdb.git * lsdb.el (lsdb-wl-temp-buffer-show-function): Don't call get-buffer-window if wl-message-buffer is nil. --- 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)