* syntax.c (init_syntax_once): Adjust comment and do an early

initialization of Qchar_table_extra_slots just once...
* casetab.c (init_casetab_once):
* category.c (init_category_once):
* character.c (syms_of_character):
* coding.c (syms_of_coding):
* xdisp.c (syms_of_xdisp): ...and omit it here.
This commit is contained in:
Dmitry Antipov 2013-08-26 09:20:59 +04:00
parent eed991017a
commit c76826d98c
7 changed files with 14 additions and 32 deletions

View file

@ -10814,11 +10814,6 @@ syms_of_coding (void)
Fput (Qcoding_system_error, Qerror_message,
build_pure_c_string ("Invalid coding system"));
/* Intern this now in case it isn't already done.
Setting this variable twice is harmless.
But don't staticpro it here--that is done in alloc.c. */
Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots");
DEFSYM (Qtranslation_table, "translation-table");
Fput (Qtranslation_table, Qchar_table_extra_slots, make_number (2));
DEFSYM (Qtranslation_table_id, "translation-table-id");