1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(quit-window): Fixed FRAME to be the frame and never window.

This commit is contained in:
Richard M. Stallman 1998-05-07 04:05:28 +00:00
parent 6c0316aea2
commit c81845b60c

View File

@ -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." and the buffer that is killed or buried is the one in that window."
(interactive "P") (interactive "P")
(let ((buffer (window-buffer window)) (let ((buffer (window-buffer window))
(frame (if window (window-frame window) (selected-window))) (frame (window-frame (or window (selected-window))))
(window-solitary (window-solitary
(save-selected-window (save-selected-window
(if window (if window