changeset 6210:dcc7759634d8

(shut_down_emacs): Set Vrun_hooks to nil.
author Richard M. Stallman <rms@gnu.org>
date Sat, 05 Mar 1994 20:38:30 +0000
parents 2a8a76b9a2fe
children 80569adf45e4
files src/emacs.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Sat Mar 05 20:36:38 1994 +0000
+++ b/src/emacs.c	Sat Mar 05 20:38:30 1994 +0000
@@ -821,6 +821,9 @@
      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
   {