Function: insert-before-markers

insert-before-markers is a function defined in editfns.c.

Signature

(insert-before-markers &rest ARGS)

Documentation

Insert strings or characters at point, relocating markers after the text.

Point and markers move forward to end up after the inserted text.

If the current buffer is multibyte, unibyte strings are converted to multibyte for insertion (see unibyte-char-to-multibyte). If the current buffer is unibyte, multibyte strings are converted to unibyte for insertion.

If an overlay begins at the insertion point, the inserted text falls outside the overlay; if a nonempty overlay ends at the insertion point, the inserted text falls inside that overlay.

View in manual

Probably introduced at or before Emacs version 17.

Source Code

// Defined in /usr/src/emacs/src/editfns.c
{
  general_insert_function (insert_before_markers,
			   insert_from_string_before_markers, 0,
			   nargs, args);
  return Qnil;
}