# HG changeset patch # User Kenichi Handa # Date 1113983408 0 # Node ID 832617c86aa7b666abf30da7e240dd8345a6c215 # Parent f1c19da9ba199fb434e29622e5edd17bbc20813d (make_sub_char_table): Argument changed to initial value of the slots. diff -r f1c19da9ba19 -r 832617c86aa7 src/alloc.c --- a/src/alloc.c Wed Apr 20 07:49:35 2005 +0000 +++ b/src/alloc.c Wed Apr 20 07:50:08 2005 +0000 @@ -3014,18 +3014,18 @@ } -/* Return a newly created sub char table with default value DEFALT. +/* Return a newly created sub char table with slots initialized by INIT. Since a sub char table does not appear as a top level Emacs Lisp object, we don't need a Lisp interface to make it. */ Lisp_Object -make_sub_char_table (defalt) - Lisp_Object defalt; +make_sub_char_table (init) + Lisp_Object init; { Lisp_Object vector - = Fmake_vector (make_number (SUB_CHAR_TABLE_STANDARD_SLOTS), Qnil); + = Fmake_vector (make_number (SUB_CHAR_TABLE_STANDARD_SLOTS), init); XCHAR_TABLE (vector)->top = Qnil; - XCHAR_TABLE (vector)->defalt = defalt; + XCHAR_TABLE (vector)->defalt = Qnil; XSETCHAR_TABLE (vector, XCHAR_TABLE (vector)); return vector; }