Function: erc--init-channel-modes

erc--init-channel-modes is a byte-compiled function defined in erc.el.gz.

Signature

(erc--init-channel-modes CHANNEL RAW-ARGS)

Documentation

Set CHANNEL modes from RAW-ARGS.

Expect RAW-ARGS to be a "modestring" without any status-prefix chars, followed by applicable arguments.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc--init-channel-modes (channel raw-args)
  "Set CHANNEL modes from RAW-ARGS.
Expect RAW-ARGS to be a \"modestring\" without any status-prefix
chars, followed by applicable arguments."
  (erc-with-buffer (channel)
    (erc--process-channel-modes (car raw-args) (cdr raw-args))))