Function: erc-networks--insert-transplanted-content

erc-networks--insert-transplanted-content is a byte-compiled function defined in erc-networks.el.gz.

Signature

(erc-networks--insert-transplanted-content CONTENT)

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-networks.el.gz
;; TODO add note in Commentary saying that this module is considered a
;; core module and that it's as much about buffer naming and network
;; identity as anything else.

(defun erc-networks--insert-transplanted-content (content)
  (let ((inhibit-read-only t)
        (buffer-undo-list t))
    (save-excursion
      (save-restriction
        (widen)
        (goto-char (point-min))
        (insert-before-markers content)))))