Mercurial > emacs
comparison src/composite.c @ 89706:1c9ca166e872
(syms_of_composite): Fix comment.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 15 Jan 2004 02:43:15 +0000 |
parents | 13df47fbaa54 |
children | 2660b0974edb |
comparison
equal
deleted
inserted
replaced
89705:412518f2feab | 89706:1c9ca166e872 |
---|---|
753 extern Lisp_Object QCsize; | 753 extern Lisp_Object QCsize; |
754 | 754 |
755 args[0] = QCtest; | 755 args[0] = QCtest; |
756 args[1] = Qequal; | 756 args[1] = Qequal; |
757 args[2] = QCweakness; | 757 args[2] = QCweakness; |
758 /* Fixme: It seems that a weak hash table leads to segfault in GC, | 758 /* We used to make the hash table weak so that unreferenced |
759 but I have not yet found why. -- handa@m17n.org */ | 759 compostions can be garbage-collected. But, usually once |
760 created compositions are repeatedly used in an Emacs session, | |
761 and thus it's not worth to save memory in such a way. So, we | |
762 make the table not weak. */ | |
760 args[3] = Qnil; | 763 args[3] = Qnil; |
761 args[4] = QCsize; | 764 args[4] = QCsize; |
762 args[5] = make_number (311); | 765 args[5] = make_number (311); |
763 composition_hash_table = Fmake_hash_table (6, args); | 766 composition_hash_table = Fmake_hash_table (6, args); |
764 staticpro (&composition_hash_table); | 767 staticpro (&composition_hash_table); |