Function: erc-insert-mode-command
erc-insert-mode-command is an interactive and byte-compiled function
defined in erc.el.gz.
Signature
(erc-insert-mode-command)
Documentation
Insert the line "/mode <current target> " at point.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-insert-mode-command ()
"Insert the line \"/mode <current target> \" at `point'."
(interactive)
(let ((tgt (erc-default-target)))
(if tgt (insert (concat "/mode " tgt " "))
(erc-display-message nil 'error (current-buffer) 'no-target))))