From 9db03f6c4cb2c767765e6bf51f57df4b2fcba3a0 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Fri, 11 Jun 2004 21:48:22 +0000 Subject: [PATCH] (shut_down_emacs): Inhibit redisplay during shutdown. --- src/emacs.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/emacs.c b/src/emacs.c index 7f311dbe3b0..7535c607599 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -206,6 +206,8 @@ extern Lisp_Object Vwindow_system; extern Lisp_Object Vauto_save_list_file_name; +extern Lisp_Object Vinhibit_redisplay; + #ifdef USG_SHARED_LIBRARIES /* If nonzero, this is the place to put the end of the writable segment at startup. */ @@ -2009,6 +2011,9 @@ shut_down_emacs (sig, no_x, stuff) /* Prevent running of hooks from now on. */ Vrun_hooks = Qnil; + /* Don't update display from now on. */ + Vinhibit_redisplay = Qt; + /* If we are controlling the terminal, reset terminal modes. */ #ifdef EMACS_HAVE_TTY_PGRP { -- 2.39.5