Function: make-bool-vector

make-bool-vector is a function defined in alloc.c.

Signature

(make-bool-vector LENGTH INIT)

Documentation

Return a new bool-vector of length LENGTH, using INIT for each element.

LENGTH must be a number. INIT matters only in whether it is t or nil.

View in manual

Probably introduced at or before Emacs version 19.30.

Source Code

// Defined in /usr/src/emacs/src/alloc.c
{
  Lisp_Object val;

  CHECK_FIXNAT (length);
  val = make_uninit_bool_vector (XFIXNAT (length));
  return bool_vector_fill (val, init);
}