From c81845b60c5e1fd984665fe0d757737606517fa3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 7 May 1998 04:05:28 +0000 Subject: [PATCH] (quit-window): Fixed FRAME to be the frame and never window. --- lisp/window.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/window.el b/lisp/window.el index 025f0a82d10..bd3727cd3f7 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -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 -- 2.39.2