Added a check to see if the 'speedbar-buffer' is still alive
Fix suggested by Rudi Schlatte <rudi@constantly.at>. * lisp/speedbar.el (speedbar-frame-or-window): Added an additional check to see if 'speedbar-buffer' is still alive (bug#77405).
This commit is contained in:
committed by
Eli Zaretskii
parent
4f6fa90ec5
commit
31e744e581
@@ -1048,7 +1048,8 @@ Return nil if both are closed."
|
||||
((speedbar-window--live-p)
|
||||
'window)
|
||||
((and (frame-live-p (speedbar-current-frame))
|
||||
speedbar-buffer
|
||||
speedbar-buffer
|
||||
(buffer-live-p speedbar-buffer)
|
||||
(not (speedbar-window--live-p)))
|
||||
'frame)
|
||||
(t nil)))
|
||||
|
||||
Reference in New Issue
Block a user