Mercurial > emacs
changeset 39953:3a1666ed16b8
(select_window_1): Unfreeze window start. Remove a
doubled test for WINDOW being live.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 15 Oct 2001 10:44:09 +0000 |
parents | 17e0900cd156 |
children | 5b721ecd0f39 |
files | src/window.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.c Mon Oct 15 10:28:13 2001 +0000 +++ b/src/window.c Mon Oct 15 10:44:09 2001 +0000 @@ -1660,7 +1660,7 @@ window = Fnext_window (window, Qnil, all_frames); for (; i < 0; ++i) window = Fprevious_window (window, Qnil, all_frames); - + Fselect_window (window); return Qnil; } @@ -2733,9 +2733,7 @@ CHECK_LIVE_WINDOW (window, 0); w = XWINDOW (window); - - if (NILP (w->buffer)) - error ("Trying to select deleted window or non-leaf window"); + w->frozen_window_start_p = 0; XSETFASTINT (w->use_time, ++window_select_count); if (EQ (window, selected_window))