diff src/emacs.c @ 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 7f1756b0b478
children 633b2d7d12df
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
   {