summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-05-07 04:05:28 +0000
committerRichard M. Stallman <rms@gnu.org>1998-05-07 04:05:28 +0000
commitc81845b60c5e1fd984665fe0d757737606517fa3 (patch)
tree685c85b6f49d3111c52108877d5c27cd475e6213 /lisp/window.el
parent6c0316aea2851dc6c1316b9043c7a1f3ca0e130d (diff)
downloademacs-c81845b60c5e1fd984665fe0d757737606517fa3.tar.gz
(quit-window): Fixed FRAME to be the frame and never window.
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el2
1 files changed, 1 insertions, 1 deletions
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