comparison src/eval.c @ 16296:584310941e70

(syms_of_eval): Initialize Vrun_hooks here. Don't make it a Lisp variable.
author Richard M. Stallman <rms@gnu.org>
date Mon, 23 Sep 1996 04:31:38 +0000
parents df832a303ce5
children 1d85b2698564
comparison
equal deleted inserted replaced
16295:8915604a050c 16296:584310941e70
88 Lisp_Object Qinhibit_quit, Vinhibit_quit, Vquit_flag; 88 Lisp_Object Qinhibit_quit, Vinhibit_quit, Vquit_flag;
89 Lisp_Object Qmocklisp_arguments, Vmocklisp_arguments, Qmocklisp; 89 Lisp_Object Qmocklisp_arguments, Vmocklisp_arguments, Qmocklisp;
90 Lisp_Object Qand_rest, Qand_optional; 90 Lisp_Object Qand_rest, Qand_optional;
91 Lisp_Object Qdebug_on_error; 91 Lisp_Object Qdebug_on_error;
92 92
93 /* This holds either the symbol `run-hooks' or nil.
94 It is nil at an early stage of startup, and when Emacs
95 is shutting down. */
93 Lisp_Object Vrun_hooks; 96 Lisp_Object Vrun_hooks;
94 97
95 /* Non-nil means record all fset's and provide's, to be undone 98 /* Non-nil means record all fset's and provide's, to be undone
96 if the file being autoloaded is not fully loaded. 99 if the file being autoloaded is not fully loaded.
97 They are recorded by being consed onto the front of Vautoload_queue: 100 They are recorded by being consed onto the front of Vautoload_queue:
2924 staticpro (&Qmocklisp_arguments); 2927 staticpro (&Qmocklisp_arguments);
2925 DEFVAR_LISP ("mocklisp-arguments", &Vmocklisp_arguments, 2928 DEFVAR_LISP ("mocklisp-arguments", &Vmocklisp_arguments,
2926 "While in a mocklisp function, the list of its unevaluated args."); 2929 "While in a mocklisp function, the list of its unevaluated args.");
2927 Vmocklisp_arguments = Qt; 2930 Vmocklisp_arguments = Qt;
2928 2931
2929 DEFVAR_LISP ("run-hooks", &Vrun_hooks, 2932 Vrun_hooks = intern ("run-hooks");
2930 "Set to the function `run-hooks', if that function has been defined.\n\ 2933 staticpro (&Vrun_hooks);
2931 Otherwise, nil (in a bare Emacs without preloaded Lisp code).");
2932 2934
2933 staticpro (&Vautoload_queue); 2935 staticpro (&Vautoload_queue);
2934 Vautoload_queue = Qnil; 2936 Vautoload_queue = Qnil;
2935 2937
2936 defsubr (&Sor); 2938 defsubr (&Sor);