diff src/xdisp.c @ 29981:e4256ac89b92

(try_window_reusing_current_matrix): Don't try to reuse the display if windows_or_buffers_changed.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 28 Jun 2000 20:29:56 +0000
parents 8aa954de8db9
children 8dc78ef485a4
line wrap: on
line diff
--- a/src/xdisp.c	Wed Jun 28 20:28:50 2000 +0000
+++ b/src/xdisp.c	Wed Jun 28 20:29:56 2000 +0000
@@ -9507,8 +9507,12 @@
   struct glyph_row *start_row;
   int start_vpos, min_y, max_y;
 
-  /* Right now this function doesn't handle terminal frames.  */
-  if (!FRAME_WINDOW_P (f))
+  
+  if (/* This function doesn't handle terminal frames.  */
+      !FRAME_WINDOW_P (f)
+      /* Don't try to reuse the display if windows have been split
+	 or such.  */
+      || windows_or_buffers_changed)
     return 0;
 
   /* Can't do this if region may have changed.  */