Variable: erc-warn-about-blank-lines
erc-warn-about-blank-lines is a customizable variable defined in
erc.el.gz.
Value
t
Documentation
Warn the user if they attempt to send a blank line.
When non-nil, ERC signals a user-error upon encountering prompt
input containing empty or whitespace-only lines. When nil, ERC
still inhibits sending but does so silently. With the companion
option erc-send-whitespace-lines enabled, ERC sends pending
input and prints a message in the echo area indicating the amount
of padding and/or stripping applied, if any. Setting this option
to nil suppresses such reporting.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defcustom erc-warn-about-blank-lines t
"Warn the user if they attempt to send a blank line.
When non-nil, ERC signals a `user-error' upon encountering prompt
input containing empty or whitespace-only lines. When nil, ERC
still inhibits sending but does so silently. With the companion
option `erc-send-whitespace-lines' enabled, ERC sends pending
input and prints a message in the echo area indicating the amount
of padding and/or stripping applied, if any. Setting this option
to nil suppresses such reporting."
:group 'erc
:type 'boolean)