From 34d470ba817df37010bc885b7c7d8b178790dbb1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 21 Sep 1994 23:19:26 +0000 Subject: [PATCH] (init_eval_once): Init Vrun_hooks here. (syms_of_eval): Not here. --- src/eval.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/eval.c b/src/eval.c index 4ee76ff531..f5631c3979 100644 --- a/src/eval.c +++ b/src/eval.c @@ -152,6 +152,8 @@ init_eval_once () specpdl = (struct specbinding *) xmalloc (specpdl_size * sizeof (struct specbinding)); max_specpdl_size = 600; max_lisp_eval_depth = 200; + + Vrun_hooks = Qnil; } init_eval () @@ -2579,7 +2581,6 @@ If due to `eval' entry, one arg, t."); DEFVAR_LISP ("run-hooks", &Vrun_hooks, "Set to the function `run-hooks', if that function has been defined.\n\ Otherwise, nil (in a bare Emacs without preloaded Lisp code)."); - Vrun_hooks = Qnil; staticpro (&Vautoload_queue); Vautoload_queue = Qnil; -- 2.39.2