Function: make-category-table

make-category-table is a function defined in category.c.

Signature

(make-category-table)

Documentation

Construct a new and empty category table and return it.

View in manual

Source Code

// Defined in /usr/src/emacs/src/category.c
{
  Lisp_Object val;
  int i;

  val = Fmake_char_table (Qcategory_table, Qnil);
  set_char_table_defalt (val, MAKE_CATEGORY_SET);
  for (i = 0; i < (1 << CHARTAB_SIZE_BITS_0); i++)
    set_char_table_contents (val, i, MAKE_CATEGORY_SET);
  Fset_char_table_extra_slot (val, make_fixnum (0), make_nil_vector (95));
  return val;
}