Commit c96a008c authored by Erik Naggum's avatar Erik Naggum
Browse files

(Fmake_char_table): Initialize parent to nil.

parent 608ff985
......@@ -771,6 +771,7 @@ See `char-table-extra-slot' and `set-char-table-extra-slot'.")
/* Add 2 to the size for the defalt and parent slots. */
vector = Fmake_vector (make_number (CHAR_TABLE_STANDARD_SLOTS + XINT (n)),
init);
XCHAR_TABLE (vector)->parent = Qnil;
XSETCHAR_TABLE (vector, XCHAR_TABLE (vector));
return vector;
}
......
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