From 829d872be9d2b6da73a0facea5f3b33beede4b7c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 5 Mar 1994 20:38:30 +0000 Subject: [PATCH] (shut_down_emacs): Set Vrun_hooks to nil. --- src/emacs.c | 3 +++ 1 file changed, 3 insertions(+) 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 { -- 2.39.5