Function: erc--normalize-module-symbol

erc--normalize-module-symbol is a byte-compiled function defined in erc-common.el.gz.

Signature

(erc--normalize-module-symbol SYMBOL)

Documentation

Return preferred SYMBOL for erc--module.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-common.el.gz
;; After dropping 28, we can use prefixed "erc-autoload" cookies.
(defun erc--normalize-module-symbol (symbol)
  "Return preferred SYMBOL for `erc--module'."
  (while-let ((canonical (get symbol 'erc--module))
              ((not (eq canonical symbol))))
    (setq symbol canonical))
  symbol)