Function: nrepl-log--message-face
nrepl-log--message-face is a byte-compiled function defined in
nrepl-client.el.
Signature
(nrepl-log--message-face ID)
Documentation
Return the face to use when pretty-printing the nREPL message with ID.
The obsolete nrepl-message-colors takes precedence when customized, in
which case an anonymous face with the matching foreground color is
returned. If ID is nil, return nil.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/nrepl-client.el
(defun nrepl-log--message-face (id)
"Return the face to use when pretty-printing the nREPL message with ID.
The obsolete `nrepl-message-colors' takes precedence when customized, in
which case an anonymous face with the matching foreground color is
returned. If ID is nil, return nil."
(when id
(let ((idx (string-to-number id)))
(if nrepl-message-colors
`(:foreground ,(nth (mod idx (length nrepl-message-colors))
nrepl-message-colors))
(nth (mod idx (length nrepl-message-faces)) nrepl-message-faces)))))