]> git.eshelyaron.com Git - emacs.git/commitdiff
(shut_down_emacs): Inhibit redisplay during shutdown.
authorKim F. Storm <storm@cua.dk>
Fri, 11 Jun 2004 21:48:22 +0000 (21:48 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 11 Jun 2004 21:48:22 +0000 (21:48 +0000)
src/emacs.c

index 7f311dbe3b07510b4db0cd0ccdcb4f3d51370382..7535c60759990c42c1f3c684cf82b6c8e6ef8dd2 100644 (file)
@@ -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
   {