Function: nrepl-log--message-color

nrepl-log--message-color is a byte-compiled function defined in nrepl-client.el.

Signature

(nrepl-log--message-color ID)

Documentation

Return the color to use when pretty-printing the nREPL message with ID.

If ID is nil, return nil.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/nrepl-client.el
(defun nrepl-log--message-color (id)
  "Return the color to use when pretty-printing the nREPL message with ID.
If ID is nil, return nil."
  (when id
    (thread-first
      (string-to-number id)
      (mod (length nrepl-message-colors))
      (nth nrepl-message-colors))))