Function: erc-fill--wrap-unmerge-on-date-stamp

erc-fill--wrap-unmerge-on-date-stamp is a byte-compiled function defined in erc-fill.el.gz.

Signature

(erc-fill--wrap-unmerge-on-date-stamp)

Documentation

Re-wrap message on date-stamp insertion.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-fill.el.gz
(defun erc-fill--wrap-unmerge-on-date-stamp ()
  "Re-wrap message on date-stamp insertion."
  (when (and erc-fill-wrap-merge (null erc-fill--wrap-rejigger-last-message))
    (let ((next-beg (point-max)))
      (save-restriction
        (widen)
        (when-let (((get-text-property next-beg 'erc-fill--wrap-merge))
                   (end (erc--get-inserted-msg-bounds next-beg))
                   (beg (pop end))
                   (erc-fill--wrap-continued-predicate #'ignore))
          (erc-fill--wrap-rejigger-region (1- beg) (1+ end) nil 'repairp))))))