Function: delete-field

delete-field is a function defined in editfns.c.

Signature

(delete-field &optional POS)

Documentation

Delete the field surrounding POS.

A field is a region of text with the same field property. If POS is nil, the value of point is used for POS.

View in manual

Probably introduced at or before Emacs version 21.1.

Source Code

// Defined in /usr/src/emacs/src/editfns.c
{
  ptrdiff_t beg, end;
  find_field (pos, Qnil, Qnil, &beg, Qnil, &end);
  if (beg != end)
    del_range (beg, end);
  return Qnil;
}