# HG changeset patch # User Stefan Monnier # Date 1224994988 0 # Node ID f0ad9e3cb1a453fca70b676fb9b312b6eb20b69a # Parent ed258613edc77b30f78464d6eeb20212ab0a3b13 (Foptimize_char_table): Make sure `ascii' doesn't point to the previous unoptimized table. diff -r ed258613edc7 -r f0ad9e3cb1a4 src/ChangeLog --- a/src/ChangeLog Sun Oct 26 04:13:46 2008 +0000 +++ b/src/ChangeLog Sun Oct 26 04:23:08 2008 +0000 @@ -1,5 +1,8 @@ 2008-10-26 Stefan Monnier + * 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 -r ed258613edc7 -r f0ad9e3cb1a4 src/chartab.c --- a/src/chartab.c Sun Oct 26 04:13:46 2008 +0000 +++ b/src/chartab.c Sun Oct 26 04:23:08 2008 +0000 @@ -703,6 +703,9 @@ 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; }