diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lread.c b/src/lread.c index fcc3eb4146c..d4e556a0704 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -127,6 +127,9 @@ static int load_convert_to_unibyte; | |||
| 127 | compiled) instead of readevalloop. */ | 127 | compiled) instead of readevalloop. */ |
| 128 | Lisp_Object Vload_source_file_function; | 128 | Lisp_Object Vload_source_file_function; |
| 129 | 129 | ||
| 130 | /* List of all DEFVAR_BOOL variables. Used by the byte optimizer. */ | ||
| 131 | Lisp_Object Vbyte_boolean_vars; | ||
| 132 | |||
| 130 | /* List of descriptors now open for Fload. */ | 133 | /* List of descriptors now open for Fload. */ |
| 131 | static Lisp_Object load_descriptor_list; | 134 | static Lisp_Object load_descriptor_list; |
| 132 | 135 | ||
| @@ -3038,6 +3041,7 @@ defvar_bool (namestring, address) | |||
| 3038 | XMISCTYPE (val) = Lisp_Misc_Boolfwd; | 3041 | XMISCTYPE (val) = Lisp_Misc_Boolfwd; |
| 3039 | XBOOLFWD (val)->boolvar = address; | 3042 | XBOOLFWD (val)->boolvar = address; |
| 3040 | XSYMBOL (sym)->value = val; | 3043 | XSYMBOL (sym)->value = val; |
| 3044 | Vbyte_boolean_vars = Fcons (sym, Vbyte_boolean_vars); | ||
| 3041 | } | 3045 | } |
| 3042 | 3046 | ||
| 3043 | /* Similar but define a variable whose value is the Lisp Object stored | 3047 | /* Similar but define a variable whose value is the Lisp Object stored |
| @@ -3421,6 +3425,10 @@ You cannot count on them to still be there!"); | |||
| 3421 | "List of files that were preloaded (when dumping Emacs)."); | 3425 | "List of files that were preloaded (when dumping Emacs)."); |
| 3422 | Vpreloaded_file_list = Qnil; | 3426 | Vpreloaded_file_list = Qnil; |
| 3423 | 3427 | ||
| 3428 | DEFVAR_LISP ("byte-boolean-vars", &Vbyte_boolean_vars, | ||
| 3429 | "List of all DEFVAR_BOOL variables, used by the byte code optimizer."); | ||
| 3430 | Vbyte_boolean_vars = Qnil; | ||
| 3431 | |||
| 3424 | /* Vsource_directory was initialized in init_lread. */ | 3432 | /* Vsource_directory was initialized in init_lread. */ |
| 3425 | 3433 | ||
| 3426 | load_descriptor_list = Qnil; | 3434 | load_descriptor_list = Qnil; |