diff src/eval.c @ 8980:e641b60610a1

(init_eval_once): Init Vrun_hooks here. (syms_of_eval): Not here.
author Richard M. Stallman <rms@gnu.org>
date Wed, 21 Sep 1994 23:19:26 +0000
parents 80ac0db9a77a
children e7ab930bb7eb
line wrap: on
line diff
--- a/src/eval.c	Wed Sep 21 21:56:37 1994 +0000
+++ b/src/eval.c	Wed Sep 21 23:19:26 1994 +0000
@@ -152,6 +152,8 @@
   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 @@
   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;