aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-09-21 23:19:26 +0000
committerRichard M. Stallman1994-09-21 23:19:26 +0000
commit34d470ba817df37010bc885b7c7d8b178790dbb1 (patch)
tree10e671f96c8e43156e8e7f1163e1f75c04c5e136 /src/eval.c
parentf3b0152bb9bbf464a2326f6a239354b3b299b460 (diff)
downloademacs-34d470ba817df37010bc885b7c7d8b178790dbb1.tar.gz
emacs-34d470ba817df37010bc885b7c7d8b178790dbb1.zip
(init_eval_once): Init Vrun_hooks here.
(syms_of_eval): Not here.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 4ee76ff531c..f5631c3979f 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -152,6 +152,8 @@ init_eval_once ()
152 specpdl = (struct specbinding *) xmalloc (specpdl_size * sizeof (struct specbinding)); 152 specpdl = (struct specbinding *) xmalloc (specpdl_size * sizeof (struct specbinding));
153 max_specpdl_size = 600; 153 max_specpdl_size = 600;
154 max_lisp_eval_depth = 200; 154 max_lisp_eval_depth = 200;
155
156 Vrun_hooks = Qnil;
155} 157}
156 158
157init_eval () 159init_eval ()
@@ -2579,7 +2581,6 @@ If due to `eval' entry, one arg, t.");
2579 DEFVAR_LISP ("run-hooks", &Vrun_hooks, 2581 DEFVAR_LISP ("run-hooks", &Vrun_hooks,
2580 "Set to the function `run-hooks', if that function has been defined.\n\ 2582 "Set to the function `run-hooks', if that function has been defined.\n\
2581Otherwise, nil (in a bare Emacs without preloaded Lisp code)."); 2583Otherwise, nil (in a bare Emacs without preloaded Lisp code).");
2582 Vrun_hooks = Qnil;
2583 2584
2584 staticpro (&Vautoload_queue); 2585 staticpro (&Vautoload_queue);
2585 Vautoload_queue = Qnil; 2586 Vautoload_queue = Qnil;