changeset 35550:38b39254db75

(echo_area_display): Don't call redisplay_internal when Emacs is shutting down. We can't run hooks etc. that would be necessary to do a redisplay.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 25 Jan 2001 12:40:22 +0000
parents 025e83395d81
children d990dc9eee73
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu Jan 25 12:32:26 2001 +0000
+++ b/src/xdisp.c	Thu Jan 25 12:40:22 2001 +0000
@@ -6667,7 +6667,7 @@
 	  if (!display_completed)
 	    n = redisplay_mode_lines (FRAME_ROOT_WINDOW (f), 0);
 	    
-	  if (window_height_changed_p)
+	  if (window_height_changed_p && !NILP (Vrun_hooks))
 	    {
 	      /* Must update other windows.  Likewise as in other
 		 cases, don't let this update be interrupted by