diff options
| author | Dmitry Antipov | 2013-08-26 09:20:59 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-08-26 09:20:59 +0400 |
| commit | c76826d98c8f890d8877c9ed5e7738d3268a70af (patch) | |
| tree | 4b043f09662c2f8f30bc5ff75757c2521000911c /src/syntax.c | |
| parent | eed991017a9d80651febdb5549bc75853945dfbc (diff) | |
| download | emacs-c76826d98c8f890d8877c9ed5e7738d3268a70af.tar.gz emacs-c76826d98c8f890d8877c9ed5e7738d3268a70af.zip | |
* 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.
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/syntax.c b/src/syntax.c index f5b37303a4a..31eb86faed8 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -3486,9 +3486,9 @@ init_syntax_once (void) | |||
| 3486 | /* This has to be done here, before we call Fmake_char_table. */ | 3486 | /* This has to be done here, before we call Fmake_char_table. */ |
| 3487 | DEFSYM (Qsyntax_table, "syntax-table"); | 3487 | DEFSYM (Qsyntax_table, "syntax-table"); |
| 3488 | 3488 | ||
| 3489 | /* Intern_C_String this now in case it isn't already done. | 3489 | /* This variable is DEFSYMed in alloc.c and not initialized yet, so |
| 3490 | Setting this variable twice is harmless. | 3490 | intern it here. NOTE: you must guarantee that init_syntax_once |
| 3491 | But don't staticpro it here--that is done in alloc.c. */ | 3491 | is called before all other users of this variable. */ |
| 3492 | Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots"); | 3492 | Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots"); |
| 3493 | 3493 | ||
| 3494 | /* Create objects which can be shared among syntax tables. */ | 3494 | /* Create objects which can be shared among syntax tables. */ |