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 | |
| 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')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/chartab.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 568182595d8..3dd47c8484b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2008-10-26 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2008-10-26 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * chartab.c (Foptimize_char_table): Make sure `ascii' doesn't point to | ||
| 4 | the previous unoptimized table. | ||
| 5 | |||
| 3 | * window.c (Fset_window_buffer): Undo 2008-10-18 change to re-instate | 6 | * window.c (Fset_window_buffer): Undo 2008-10-18 change to re-instate |
| 4 | the distinction between non-nil and non-t value of `dedicated'. | 7 | the distinction between non-nil and non-t value of `dedicated'. |
| 5 | 8 | ||
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 | ||