summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-01-25 12:40:22 +0000
committerGerd Moellmann <gerd@gnu.org>2001-01-25 12:40:22 +0000
commitc3e6cafd617e5a4e5f2de7b7f7e52acb579c0c0a (patch)
tree6c776e0b9ca7b7e4417ba2e74c70378644077eab /src
parent4685e6b754405f92b263bbfd435a14f5bf426a28 (diff)
downloademacs-c3e6cafd617e5a4e5f2de7b7f7e52acb579c0c0a.tar.gz
(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.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
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