Function: erc--split-lines

erc--split-lines is a byte-compiled function defined in erc.el.gz.

Signature

(erc--split-lines STATE)

Documentation

Partition non-command input into lines of protocol-compliant length.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc--split-lines (state)
  "Partition non-command input into lines of protocol-compliant length."
  ;; Prior to ERC 5.6, line splitting used to be predicated on
  ;; `erc-flood-protect' being non-nil.
  (unless (or (zerop erc-split-line-length) (erc--input-split-cmdp state))
    (setf (erc--input-split-lines state)
          (mapcan #'erc--split-line (erc--input-split-lines state)))))