changeset 34900:9ccc4efae7d4

(echo_area_display): Bind redisplay-dont-pause to t around the call to redisplay_internal.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 28 Dec 2000 12:19:09 +0000
parents 6ab3c587f8bc
children 1ecd26b517e2
files src/xdisp.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu Dec 28 12:16:03 2000 +0000
+++ b/src/xdisp.c	Thu Dec 28 12:19:09 2000 +0000
@@ -6698,9 +6698,14 @@
 	    
 	  if (window_height_changed_p)
 	    {
-	      /* Must update other windows.  */
+	      /* Must update other windows.  Likewise as in other
+		 cases, don't let this update be interrupted by
+		 pending input.  */
+	      int count = BINDING_STACK_SIZE ();
+	      specbind (Qredisplay_dont_pause, Qt);
 	      windows_or_buffers_changed = 1;
 	      redisplay_internal (0);
+	      unbind_to (count, Qnil);
 	    }
 	  else if (FRAME_WINDOW_P (f) && n == 0)
 	    {