(reset_buffer_local_variables): Init case_table slots the new way.
authorRichard M. Stallman <rms@gnu.org>
Thu, 19 Oct 1995 00:09:46 +0000 (00:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 19 Oct 1995 00:09:46 +0000 (00:09 +0000)
src/buffer.c

index 30a95df..3d73dd7 100644 (file)
@@ -478,9 +478,9 @@ reset_buffer_local_variables (b)
   b->mode_name = QSFundamental;
   b->minor_modes = Qnil;
   b->downcase_table = Vascii_downcase_table;
-  b->upcase_table = Vascii_upcase_table;
-  b->case_canon_table = Vascii_canon_table;
-  b->case_eqv_table = Vascii_eqv_table;
+  b->upcase_table = XCHAR_TABLE (Vascii_downcase_table)->extras[0];
+  b->case_canon_table = XCHAR_TABLE (Vascii_downcase_table)->extras[1];
+  b->case_eqv_table = XCHAR_TABLE (Vascii_downcase_table)->extras[2];
   b->buffer_file_type = Qnil;
   b->invisibility_spec = Qt;