Function: erc-send-input-line
erc-send-input-line is a byte-compiled function defined in erc.el.gz.
Signature
(erc-send-input-line TARGET LINE &optional FORCE)
Documentation
Send LINE to TARGET.
See also erc-server-send.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-send-input-line (target line &optional force)
"Send LINE to TARGET.
See also `erc-server-send'."
(setq line (format "PRIVMSG %s :%s"
target
;; If the line is empty, we still want to
;; send it - i.e. an empty pasted line.
(if (string= line "\n")
" \n"
line)))
(erc-server-send line force target))