changeset 38546:0fe1911b4f11

(resize_mini_window): Don't resize while redisplaying.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 25 Jul 2001 12:03:59 +0000
parents d4e190cac991
children 0810268a51b3
files src/xdisp.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Jul 25 09:48:04 2001 +0000
+++ b/src/xdisp.c	Wed Jul 25 12:03:59 2001 +0000
@@ -6500,6 +6500,12 @@
 
   xassert (MINI_WINDOW_P (w));
 
+  /* Don't resize windows while redisplaying; it would confuse
+     redisplay functions when the size of the window they are
+     displaying changes from under them.  */
+  if (redisplaying_p)
+    return 0;
+  
   /* Nil means don't try to resize.  */
   if (NILP (Vresize_mini_windows)
       || (FRAME_X_P (f) && f->output_data.x == NULL))