diff options
| author | Stefan Monnier | 2008-10-26 04:23:08 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-10-26 04:23:08 +0000 |
| commit | 4d632321c168edf1a079cbf06f18b8ac9c8ba46b (patch) | |
| tree | f16a71a4faafb16677d7032bb2a0e1d35312e058 /src/chartab.c | |
| parent | f5385255de06994bfc8217a9e8612af9cc45d795 (diff) | |
| download | emacs-4d632321c168edf1a079cbf06f18b8ac9c8ba46b.tar.gz emacs-4d632321c168edf1a079cbf06f18b8ac9c8ba46b.zip | |
(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'. */) | |||
| 703 | XCHAR_TABLE (char_table)->contents[i] | 703 | XCHAR_TABLE (char_table)->contents[i] |
| 704 | = optimize_sub_char_table (elt, test); | 704 | = optimize_sub_char_table (elt, test); |
| 705 | } | 705 | } |
| 706 | /* Reset the `ascii' cache, in case it got optimized away. */ | ||
| 707 | XCHAR_TABLE (char_table)->ascii = char_table_ascii (char_table); | ||
| 708 | |||
| 706 | return Qnil; | 709 | return Qnil; |
| 707 | } | 710 | } |
| 708 | 711 | ||