diff options
author | Stefan Monnier <[email protected]> | 2008-10-26 04:23:08 +0000 |
---|---|---|
committer | Stefan Monnier <[email protected]> | 2008-10-26 04:23:08 +0000 |
commit | 4d632321c168edf1a079cbf06f18b8ac9c8ba46b (patch) | |
tree | f16a71a4faafb16677d7032bb2a0e1d35312e058 /src | |
parent | f5385255de06994bfc8217a9e8612af9cc45d795 (diff) |
(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 568182595d..3dd47c8484 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2008-10-26 Stefan Monnier <[email protected]> + * chartab.c (Foptimize_char_table): Make sure `ascii' doesn't point to + the previous unoptimized table. + * window.c (Fset_window_buffer): Undo 2008-10-18 change to re-instate the distinction between non-nil and non-t value of `dedicated'. diff --git a/src/chartab.c b/src/chartab.c index fdce932993..f8c1bba85b 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; } |