Function: erc-cmd-SAY

erc-cmd-SAY is a byte-compiled function defined in erc.el.gz.

Signature

(erc-cmd-SAY LINE)

Documentation

Send LINE to the current query or channel as a message, not a command.

Use this when you want to send a message with a leading /. Note that since multi-line messages are never a command, you don't need this when pasting multiple lines of text.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-cmd-SAY (line)
  "Send LINE to the current query or channel as a message, not a command.

Use this when you want to send a message with a leading `/'.  Note
that since multi-line messages are never a command, you don't
need this when pasting multiple lines of text."
  (if (string-match "^\\s-*$" line)
      nil
    (string-match "^ ?\\(.*\\)" line)
    (erc-send-message (match-string 1 line) nil)))