Commit 4d632321 authored by Stefan Monnier's avatar Stefan Monnier

(Foptimize_char_table): Make sure `ascii' doesn't point to

the previous unoptimized table.
parent f5385255
2008-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
* 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'.
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment