diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/composite.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/composite.c b/src/composite.c index a81ac3182b9..ea85e2fa506 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -755,8 +755,11 @@ syms_of_composite () | |||
| 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); |