Function: erc--blank-in-multiline-input-p
erc--blank-in-multiline-input-p is a byte-compiled function defined in
erc.el.gz.
Signature
(erc--blank-in-multiline-input-p LINES)
Documentation
Detect whether LINES contains a blank line.
When erc-send-whitespace-lines is in effect, return nil if
LINES is multiline or the first line is non-empty. When
erc-send-whitespace-lines is nil, return non-nil when any line
is empty or consists of one or more spaces, tabs, or form-feeds.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc--blank-in-multiline-input-p (lines)
"Detect whether LINES contains a blank line.
When `erc-send-whitespace-lines' is in effect, return nil if
LINES is multiline or the first line is non-empty. When
`erc-send-whitespace-lines' is nil, return non-nil when any line
is empty or consists of one or more spaces, tabs, or form-feeds."
(catch 'return
(let ((multilinep (cdr lines)))
(dolist (line lines)
(when (if erc-send-whitespace-lines
(and (string-empty-p line) (not multilinep))
(string-match (rx bot (* (in " \t\f")) eot) line))
(throw 'return t))))))