Function: erc--send-input-lines

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

Signature

(erc--send-input-lines LINES-OBJ)

Documentation

Send lines in erc--input-split-lines object LINES-OBJ.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc--send-input-lines (lines-obj)
  "Send lines in `erc--input-split-lines' object LINES-OBJ."
  (when (erc--input-split-sendp lines-obj)
    (let ((insertp (erc--input-split-insertp lines-obj))
          (substxt (erc--input-split-substxt lines-obj)))
      (when (and insertp substxt)
        (setq insertp nil)
        (if (functionp substxt)
            (apply substxt (erc--input-split-lines lines-obj))
          (erc-display-msg substxt)))
      (dolist (line (erc--input-split-lines lines-obj))
        (when insertp
          (erc-display-msg line))
        (erc-process-input-line (concat line "\n")
                                (null erc-flood-protect)
                                (not (erc--input-split-cmdp lines-obj)))))))