diff options
author | Richard M. Stallman <rms@gnu.org> | 1998-05-07 04:05:28 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1998-05-07 04:05:28 +0000 |
commit | c81845b60c5e1fd984665fe0d757737606517fa3 (patch) | |
tree | 685c85b6f49d3111c52108877d5c27cd475e6213 /lisp/window.el | |
parent | 6c0316aea2851dc6c1316b9043c7a1f3ca0e130d (diff) | |
download | emacs-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.el | 2 |
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 |