mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
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
|
|
@ -1049,6 +1049,7 @@ Return nil if both are closed."
|
||||||
'window)
|
'window)
|
||||||
((and (frame-live-p (speedbar-current-frame))
|
((and (frame-live-p (speedbar-current-frame))
|
||||||
speedbar-buffer
|
speedbar-buffer
|
||||||
|
(buffer-live-p speedbar-buffer)
|
||||||
(not (speedbar-window--live-p)))
|
(not (speedbar-window--live-p)))
|
||||||
'frame)
|
'frame)
|
||||||
(t nil)))
|
(t nil)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue