diff options
| author | Kim F. Storm | 2004-06-11 21:48:22 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-06-11 21:48:22 +0000 |
| commit | 9db03f6c4cb2c767765e6bf51f57df4b2fcba3a0 (patch) | |
| tree | 9786434f6fffcec97a2533cf3bae453559e11cfb | |
| parent | 1da71023cf066be2773da858d3fdab67916588e0 (diff) | |
| download | emacs-9db03f6c4cb2c767765e6bf51f57df4b2fcba3a0.tar.gz emacs-9db03f6c4cb2c767765e6bf51f57df4b2fcba3a0.zip | |
(shut_down_emacs): Inhibit redisplay during shutdown.
| -rw-r--r-- | src/emacs.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; | |||
| 206 | 206 | ||
| 207 | extern Lisp_Object Vauto_save_list_file_name; | 207 | extern Lisp_Object Vauto_save_list_file_name; |
| 208 | 208 | ||
| 209 | extern Lisp_Object Vinhibit_redisplay; | ||
| 210 | |||
| 209 | #ifdef USG_SHARED_LIBRARIES | 211 | #ifdef USG_SHARED_LIBRARIES |
| 210 | /* If nonzero, this is the place to put the end of the writable segment | 212 | /* If nonzero, this is the place to put the end of the writable segment |
| 211 | at startup. */ | 213 | at startup. */ |
| @@ -2009,6 +2011,9 @@ shut_down_emacs (sig, no_x, stuff) | |||
| 2009 | /* Prevent running of hooks from now on. */ | 2011 | /* Prevent running of hooks from now on. */ |
| 2010 | Vrun_hooks = Qnil; | 2012 | Vrun_hooks = Qnil; |
| 2011 | 2013 | ||
| 2014 | /* Don't update display from now on. */ | ||
| 2015 | Vinhibit_redisplay = Qt; | ||
| 2016 | |||
| 2012 | /* If we are controlling the terminal, reset terminal modes. */ | 2017 | /* If we are controlling the terminal, reset terminal modes. */ |
| 2013 | #ifdef EMACS_HAVE_TTY_PGRP | 2018 | #ifdef EMACS_HAVE_TTY_PGRP |
| 2014 | { | 2019 | { |