mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(quit-window): Fixed FRAME to be the frame and never window.
This commit is contained in:
parent
6c0316aea2
commit
c81845b60c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue