Function: erc-migrate-modules

erc-migrate-modules is a byte-compiled function defined in erc.el.gz.

Signature

(erc-migrate-modules MODS)

Documentation

Migrate old names of ERC modules to new ones.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-migrate-modules (mods)
  "Migrate old names of ERC modules to new ones."
  ;; modify `transforms' to specify what needs to be changed
  ;; each item is in the format '(old . new)
  (let ((transforms '((pcomplete . completion))))
    (delete-dups
     (mapcar (lambda (m) (or (cdr (assoc m transforms)) m))
             mods))))