Function: erc-send-message

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

Signature

(erc-send-message LINE &optional FORCE)

Documentation

Send LINE to the current channel or user and display it.

See also erc-message and erc-display-line.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-send-message (line &optional force)
  "Send LINE to the current channel or user and display it.

See also `erc-message' and `erc-display-line'."
  (erc-message "PRIVMSG" (concat (erc-default-target) " " line) force)
  (erc-display-line
   (concat (erc-format-my-nick) line)
   (current-buffer))
  ;; FIXME - treat multiline, run hooks, or remove me?
  t)