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:
parent
4f6fa90ec5
commit
31e744e581
1 changed files with 2 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Reference in a new issue