Function: erc--channel-mode-types

erc--channel-mode-types is a byte-compiled function defined in erc.el.gz.

Signature

(erc--channel-mode-types)

Documentation

Return variable erc--channel-mode-types(var)/erc--channel-mode-types(fun), possibly initializing it.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc--channel-mode-types ()
  "Return variable `erc--channel-mode-types', possibly initializing it."
  (erc--with-isupport-data CHANMODES erc--channel-mode-types
    (let ((types (or key '(nil "Kk" "Ll" nil)))
          (ct (make-char-table 'erc--channel-mode-types))
          (type ?a))
      (dolist (cs types)
        (erc--doarray (c cs)
          (aset ct c type))
        (cl-incf type))
      (make-erc--channel-mode-types :key key
                                    :fallbackp (null key)
                                    :table ct))))