summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-03-05 20:38:30 +0000
committerRichard M. Stallman <rms@gnu.org>1994-03-05 20:38:30 +0000
commit829d872be9d2b6da73a0facea5f3b33beede4b7c (patch)
tree5bc172c5c5d00a0ffc51a7e8791919110fa0ab0e /src
parent012d4cdc7f11a7d5f48c75815418028c4848d6ae (diff)
downloademacs-829d872be9d2b6da73a0facea5f3b33beede4b7c.tar.gz
(shut_down_emacs): Set Vrun_hooks to nil.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c3
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)
int sig, no_x;
Lisp_Object stuff;
{
+ /* Prevent running of hooks from now on. */
+ Vrun_hooks = Qnil;
+
/* If we are controlling the terminal, reset terminal modes */
#ifdef EMACS_HAVE_TTY_PGRP
{