From c3e6cafd617e5a4e5f2de7b7f7e52acb579c0c0a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 25 Jan 2001 12:40:22 +0000 Subject: [PATCH] (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. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index c99650f14fc..b205e8a432a 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -6667,7 +6667,7 @@ echo_area_display (update_frame_p) 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 -- 2.39.5