From 8af1308e286e2133d2194ade659d157d7572163f Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 26 Jan 2001 11:23:52 +0000 Subject: [PATCH] (echo_area_display): Comment fix. --- src/xdisp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 2081343677e..a8803c077ca 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -6667,7 +6667,10 @@ echo_area_display (update_frame_p) 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 -- 2.39.2