# HG changeset patch # User Richard M. Stallman # Date 762899910 0 # Node ID dcc7759634d833e45955193b33a2a1116c70f176 # Parent 2a8a76b9a2fea323b45fafdcacc9897708931cab (shut_down_emacs): Set Vrun_hooks to nil. diff -r 2a8a76b9a2fe -r dcc7759634d8 src/emacs.c --- 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 {