From: Richard M. Stallman Date: Thu, 7 May 1998 04:05:28 +0000 (+0000) Subject: (quit-window): Fixed FRAME to be the frame and never window. X-Git-Tag: emacs-20.3~1107 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c81845b60c5e1fd984665fe0d757737606517fa3;p=emacs.git (quit-window): Fixed FRAME to be the frame and never window. --- 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