Mercurial > emacs
diff lisp/window.el @ 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 | 58d299618042 |
| children | 5750539e01e7 |
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
