aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorErik Naggum1995-10-08 02:56:45 +0000
committerErik Naggum1995-10-08 02:56:45 +0000
commitc96a008cc94cc6b180b65213568226f46aff9a92 (patch)
tree60d46264c574f9181f103287337640e7f1fe4f38 /src
parent608ff985d9133417180184a7a335ba0126166a34 (diff)
downloademacs-c96a008cc94cc6b180b65213568226f46aff9a92.tar.gz
emacs-c96a008cc94cc6b180b65213568226f46aff9a92.zip
(Fmake_char_table): Initialize parent to nil.
Diffstat (limited to 'src')
-rw-r--r--src/alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index a428ac2c2f1..e747afd59cb 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -771,6 +771,7 @@ See `char-table-extra-slot' and `set-char-table-extra-slot'.")
771 /* Add 2 to the size for the defalt and parent slots. */ 771 /* Add 2 to the size for the defalt and parent slots. */
772 vector = Fmake_vector (make_number (CHAR_TABLE_STANDARD_SLOTS + XINT (n)), 772 vector = Fmake_vector (make_number (CHAR_TABLE_STANDARD_SLOTS + XINT (n)),
773 init); 773 init);
774 XCHAR_TABLE (vector)->parent = Qnil;
774 XSETCHAR_TABLE (vector, XCHAR_TABLE (vector)); 775 XSETCHAR_TABLE (vector, XCHAR_TABLE (vector));
775 return vector; 776 return vector;
776} 777}