mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 03:13:24 +00: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
|
@ -1048,7 +1048,8 @@ Return nil if both are closed."
|
||||||
((speedbar-window--live-p)
|
((speedbar-window--live-p)
|
||||||
'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