Commit 6e6e9f08 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(syms_of_eval): Initialize Vrun_hooks here.

Don't make it a Lisp variable.
parent 97a74ef6
...@@ -90,6 +90,9 @@ Lisp_Object Qmocklisp_arguments, Vmocklisp_arguments, Qmocklisp; ...@@ -90,6 +90,9 @@ Lisp_Object Qmocklisp_arguments, Vmocklisp_arguments, Qmocklisp;
Lisp_Object Qand_rest, Qand_optional; Lisp_Object Qand_rest, Qand_optional;
Lisp_Object Qdebug_on_error; Lisp_Object Qdebug_on_error;
/* This holds either the symbol `run-hooks' or nil.
It is nil at an early stage of startup, and when Emacs
is shutting down. */
Lisp_Object Vrun_hooks; Lisp_Object Vrun_hooks;
/* Non-nil means record all fset's and provide's, to be undone /* Non-nil means record all fset's and provide's, to be undone
...@@ -2926,9 +2929,8 @@ If due to `eval' entry, one arg, t."); ...@@ -2926,9 +2929,8 @@ If due to `eval' entry, one arg, t.");
"While in a mocklisp function, the list of its unevaluated args."); "While in a mocklisp function, the list of its unevaluated args.");
Vmocklisp_arguments = Qt; Vmocklisp_arguments = Qt;
DEFVAR_LISP ("run-hooks", &Vrun_hooks, Vrun_hooks = intern ("run-hooks");
"Set to the function `run-hooks', if that function has been defined.\n\ staticpro (&Vrun_hooks);
Otherwise, nil (in a bare Emacs without preloaded Lisp code).");
staticpro (&Vautoload_queue); staticpro (&Vautoload_queue);
Vautoload_queue = Qnil; Vautoload_queue = Qnil;
......
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