mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(quit-window): Fixed FRAME to be the frame and never window.
This commit is contained in:
parent
6c0316aea2
commit
c81845b60c
@ -303,7 +303,7 @@ If WINDOW is non-nil, it specifies a window; we delete that window,
|
||||
and the buffer that is killed or buried is the one in that window."
|
||||
(interactive "P")
|
||||
(let ((buffer (window-buffer window))
|
||||
(frame (if window (window-frame window) (selected-window)))
|
||||
(frame (window-frame (or window (selected-window))))
|
||||
(window-solitary
|
||||
(save-selected-window
|
||||
(if window
|
||||
|
Loading…
Reference in New Issue
Block a user