Function: erc--update-modes
erc--update-modes is a byte-compiled function defined in erc.el.gz.
Signature
(erc--update-modes RAW-ARGS)
Documentation
Handle user or channel "MODE" update from server.
Expect RAW-ARGS be a list consisting of a "modestring" followed by mode-specific arguments.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
;; XXX this comment is referenced elsewhere (grep before deleting).
;;
;; The function `erc-update-modes' was deprecated in ERC 5.6 with no
;; immediate public replacement. Third parties needing such a thing
;; are encouraged to write to emacs-erc@gnu.org with ideas for a
;; mode-handler API, possibly one incorporating letter-specific
;; handlers, like `erc--handle-channel-mode' (below), which only
;; handles mode types A-C.
(defun erc--update-modes (raw-args)
"Handle user or channel \"MODE\" update from server.
Expect RAW-ARGS be a list consisting of a \"modestring\" followed
by mode-specific arguments."
(if (and erc--target (erc--target-channel-p erc--target))
(apply #'erc--update-channel-modes raw-args)
(erc--update-user-modes (car raw-args))))