Function: widget--revert-markers-for-outside-insertion
widget--revert-markers-for-outside-insertion is a byte-compiled
function defined in wid-edit.el.gz.
Signature
(widget--revert-markers-for-outside-insertion MARKERS)
Documentation
Revert MARKERS for insertions that do not belong to a widget.
MARKERS is a list of the form (MARKER . NEW-TYPE), as returned by
widget--prepare-markers-for-inside-insertion and this function sets MARKER
to NEW-TYPE.
Coupled with widget--prepare-parent-for-inside-insertion, this has the effect
of setting markers back to the type needed for insertions that do not belong
to a given widget.
Source Code
;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defun widget--revert-markers-for-outside-insertion (markers)
"Revert MARKERS for insertions that do not belong to a widget.
MARKERS is a list of the form (MARKER . NEW-TYPE), as returned by
`widget--prepare-markers-for-inside-insertion' and this function sets MARKER
to NEW-TYPE.
Coupled with `widget--prepare-parent-for-inside-insertion', this has the effect
of setting markers back to the type needed for insertions that do not belong
to a given widget."
(dolist (marker markers)
(set-marker-insertion-type (car marker) (cdr marker))))