Function: describe-vector

describe-vector is a function defined in keymap.c.

Signature

(describe-vector VECTOR &optional DESCRIBER)

Documentation

Insert a description of contents of VECTOR.

This is text showing the elements of vector matched against indices. DESCRIBER is the output function used; nil means use princ.

Source Code

// Defined in /usr/src/emacs/src/keymap.c
{
  ptrdiff_t count = SPECPDL_INDEX ();
  if (NILP (describer))
    describer = intern ("princ");
  specbind (Qstandard_output, Fcurrent_buffer ());
  CHECK_VECTOR_OR_CHAR_TABLE (vector);
  describe_vector (vector, Qnil, describer, describe_vector_princ, 0,
		   Qnil, Qnil, 0, 0);

  return unbind_to (count, Qnil);
}