Function: erc-nicks--colors-from-faces
erc-nicks--colors-from-faces is a byte-compiled function defined in
erc-nicks.el.gz.
Signature
(erc-nicks--colors-from-faces PREFIX)
Documentation
Extract foregrounds from faces with PREFIX Expect PREFIX to be something like "ansi-color-" or "font-lock-".
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-nicks.el.gz
(defun erc-nicks--colors-from-faces (prefix)
"Extract foregrounds from faces with PREFIX
Expect PREFIX to be something like \"ansi-color-\" or \"font-lock-\"."
(let (out)
(dolist (face (face-list) (nreverse out))
(when-let (((string-prefix-p prefix (symbol-name face)))
(color (face-foreground face)))
(push color out)))))