changeset 61685:832617c86aa7

(make_sub_char_table): Argument changed to initial value of the slots.
author Kenichi Handa <handa@m17n.org>
date Wed, 20 Apr 2005 07:50:08 +0000
parents f1c19da9ba19
children 527b912957bf
files src/alloc.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }