erc-unique-channel-names

erc-unique-channel-names is a compiled Lisp function in `erc-track.el'.

(erc-unique-channel-names ALL ACTIVE &optional PREDICATE START)

Return a list of unique channel names.
ALL is the list of all channel and query buffer names.
ACTIVE is the list of active buffer names.
PREDICATE is a predicate that should return non-nil if a name needs
no shortening.
START is the minimum length of the name used.