changeset 21970:3c8d5ab91f84

(quit-window): Fixed FRAME to be the frame and never window.
author Richard M. Stallman <rms@gnu.org>
date Thu, 07 May 1998 04:05:28 +0000
parents 96ae627335f5
children 23bf812d4937
files lisp/window.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/window.el	Thu May 07 04:02:36 1998 +0000
+++ b/lisp/window.el	Thu May 07 04:05:28 1998 +0000
@@ -303,7 +303,7 @@
 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