]> git.eshelyaron.com Git - emacs.git/commitdiff
(select_window_1): Unfreeze window start. Remove a
authorGerd Moellmann <gerd@gnu.org>
Mon, 15 Oct 2001 10:47:28 +0000 (10:47 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 15 Oct 2001 10:47:28 +0000 (10:47 +0000)
doubled test for WINDOW being live.

src/ChangeLog
src/window.c

index 7380946d9e45552d812a0f6ca45c9bc6bfadde63..61c0682421d73ea394188db5de6eb98d43b9a5fc 100644 (file)
@@ -1,5 +1,8 @@
 2001-10-15  Gerd Moellmann  <gerd@gnu.org>
 
+       * window.c (select_window_1): Unfreeze window start.  Remove a
+       doubled test for WINDOW being live.
+
        * xterm.c (x_draw_glyph_string): Restore clipping after
        drawing box.
 
index 95caf8780648b1df41f1b5c007c537da958aaa3d..b99d48b9c85eea408c92140a3a2652db1716fdc4 100644 (file)
@@ -1661,7 +1661,7 @@ argument ALL_FRAMES is non-nil, cycle through all frames.")
     window = Fnext_window (window, Qnil, all_frames);
   for (; i < 0; ++i)
     window = Fprevious_window (window, Qnil, all_frames);
-  
+
   Fselect_window (window);
   return Qnil;
 }
@@ -2734,9 +2734,7 @@ select_window_1 (window, recordflag)
   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))