Function: cider--handle-notification
cider--handle-notification is a byte-compiled function defined in
cider-connection.el.
Signature
(cider--handle-notification RESPONSE)
Documentation
Handle notification status in nREPL RESPONSE.
Emits the notification message to the REPL buffer.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-connection.el
(defun cider--handle-notification (response)
"Handle notification status in nREPL RESPONSE.
Emits the notification message to the REPL buffer."
(nrepl-dbind-response response (status msg type)
(when (member "notification" status)
(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))))
(cider-repl--emit-interactive-output msg (or face 'font-lock-builtin-face))))))