]> git.eshelyaron.com Git - emacs.git/commitdiff
(echo_area_display): Don't call redisplay_internal
authorGerd Moellmann <gerd@gnu.org>
Thu, 25 Jan 2001 12:40:22 +0000 (12:40 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 25 Jan 2001 12:40:22 +0000 (12:40 +0000)
when Emacs is shutting down.  We can't run hooks etc. that
would be necessary to do a redisplay.

src/xdisp.c

index c99650f14fc1c65b12f7d43025221c3aa631cebf..b205e8a432a1a7627bec9165b941b5c3468a6137 100644 (file)
@@ -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