Commit 829d872b authored by Richard M. Stallman's avatar Richard M. Stallman

(shut_down_emacs): Set Vrun_hooks to nil.

parent 012d4cdc
......@@ -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
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment