diff src/xdisp.c @ 35598:c332de00af36

(echo_area_display): Comment fix.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 26 Jan 2001 11:23:52 +0000
parents 37e5851b22b2
children 369c647a5ed5
line wrap: on
line diff
--- a/src/xdisp.c	Fri Jan 26 10:26:19 2001 +0000
+++ b/src/xdisp.c	Fri Jan 26 11:23:52 2001 +0000
@@ -6667,7 +6667,10 @@
 	  if (!display_completed)
 	    n = redisplay_mode_lines (FRAME_ROOT_WINDOW (f), 0);
 	    
-	  if (window_height_changed_p && !NILP (Vrun_hooks))
+	  if (window_height_changed_p
+	      /* Don't do this if Emacs is shutting down.  Redisplay
+	         needs to run hooks.  */
+	      && !NILP (Vrun_hooks))
 	    {
 	      /* Must update other windows.  Likewise as in other
 		 cases, don't let this update be interrupted by