diff options
| author | Richard M. Stallman | 1998-05-07 04:05:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-05-07 04:05:28 +0000 |
| commit | c81845b60c5e1fd984665fe0d757737606517fa3 (patch) | |
| tree | 685c85b6f49d3111c52108877d5c27cd475e6213 | |
| parent | 6c0316aea2851dc6c1316b9043c7a1f3ca0e130d (diff) | |
| download | emacs-c81845b60c5e1fd984665fe0d757737606517fa3.tar.gz emacs-c81845b60c5e1fd984665fe0d757737606517fa3.zip | |
(quit-window): Fixed FRAME to be the frame and never window.
| -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, | |||
| 303 | and the buffer that is killed or buried is the one in that window." | 303 | and the buffer that is killed or buried is the one in that window." |
| 304 | (interactive "P") | 304 | (interactive "P") |
| 305 | (let ((buffer (window-buffer window)) | 305 | (let ((buffer (window-buffer window)) |
| 306 | (frame (if window (window-frame window) (selected-window))) | 306 | (frame (window-frame (or window (selected-window)))) |
| 307 | (window-solitary | 307 | (window-solitary |
| 308 | (save-selected-window | 308 | (save-selected-window |
| 309 | (if window | 309 | (if window |