diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-10-26 04:23:08 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-10-26 04:23:08 +0000 |
commit | 4d632321c168edf1a079cbf06f18b8ac9c8ba46b (patch) | |
tree | f16a71a4faafb16677d7032bb2a0e1d35312e058 /src/chartab.c | |
parent | f5385255de06994bfc8217a9e8612af9cc45d795 (diff) | |
download | emacs-4d632321c168edf1a079cbf06f18b8ac9c8ba46b.tar.gz |
(Foptimize_char_table): Make sure `ascii' doesn't point to
the previous unoptimized table.
Diffstat (limited to 'src/chartab.c')
-rw-r--r-- | src/chartab.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chartab.c b/src/chartab.c index fdce932993f..f8c1bba85b9 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -703,6 +703,9 @@ equivalent and can be merged. It defaults to `equal'. */) XCHAR_TABLE (char_table)->contents[i] = optimize_sub_char_table (elt, test); } + /* Reset the `ascii' cache, in case it got optimized away. */ + XCHAR_TABLE (char_table)->ascii = char_table_ascii (char_table); + return Qnil; } |