Function: insert-before-markers-and-inherit

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

Signature

(insert-before-markers-and-inherit &rest ARGS)

Documentation

Insert text at point, relocating markers and inheriting properties.

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.

Probably introduced at or before Emacs version 19.20.

Source Code

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