diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-26 09:20:59 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-26 09:20:59 +0400 |
commit | c76826d98c8f890d8877c9ed5e7738d3268a70af (patch) | |
tree | 4b043f09662c2f8f30bc5ff75757c2521000911c /src/syntax.c | |
parent | eed991017a9d80651febdb5549bc75853945dfbc (diff) | |
download | emacs-c76826d98c8f890d8877c9ed5e7738d3268a70af.tar.gz |
* 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) /* This has to be done here, before we call Fmake_char_table. */ DEFSYM (Qsyntax_table, "syntax-table"); - /* Intern_C_String 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. */ + /* This variable is DEFSYMed in alloc.c and not initialized yet, so + intern it here. NOTE: you must guarantee that init_syntax_once + is called before all other users of this variable. */ Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots"); /* Create objects which can be shared among syntax tables. */ |