Function: nrepl-notify
nrepl-notify is a byte-compiled function defined in nrepl-client.el.
Signature
(nrepl-notify MSG TYPE)
Documentation
Handle a server notification with MSG and TYPE.
Displays the notification via message.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/nrepl-client.el
(defun nrepl-notify (msg type)
"Handle a server notification with MSG and TYPE.
Displays the notification via `message'."
(let* ((face (pcase type
((or "message" `nil) 'font-lock-builtin-face)
("warning" 'warning)
("error" 'error)))
(msg (if face
(propertize msg 'face face)
(format "%s: %s" (upcase type) msg))))
;; MSG is server-provided, so pass it as an argument rather than as the
;; format string - a stray `%' would otherwise misparse or error.
(message "%s" msg)))