diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index f76d224d04b..2fcb6a8b9e7 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -821,6 +821,9 @@ shut_down_emacs (sig, no_x, stuff) | |||
| 821 | int sig, no_x; | 821 | int sig, no_x; |
| 822 | Lisp_Object stuff; | 822 | Lisp_Object stuff; |
| 823 | { | 823 | { |
| 824 | /* Prevent running of hooks from now on. */ | ||
| 825 | Vrun_hooks = Qnil; | ||
| 826 | |||
| 824 | /* If we are controlling the terminal, reset terminal modes */ | 827 | /* If we are controlling the terminal, reset terminal modes */ |
| 825 | #ifdef EMACS_HAVE_TTY_PGRP | 828 | #ifdef EMACS_HAVE_TTY_PGRP |
| 826 | { | 829 | { |