Function: gap-position

gap-position is a function defined in editfns.c.

Signature

(gap-position)

Documentation

Return the position of the gap, in the current buffer.

See also gap-size.

View in manual

Probably introduced at or before Emacs version 20.4.

Source Code

// Defined in /usr/src/emacs/src/editfns.c
{
  Lisp_Object temp;
  XSETFASTINT (temp, GPT);
  return temp;
}