Function: nrepl-log-error

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

Signature

(nrepl-log-error MSG)

Documentation

Log the given MSG to the buffer given by nrepl-error-buffer.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/nrepl-client.el
(defun nrepl-log-error (msg)
  "Log the given MSG to the buffer given by `nrepl-error-buffer'."
  (with-current-buffer (nrepl-error-buffer)
    (setq buffer-read-only nil)
    (goto-char (point-max))
    (insert msg)
    (when-let* ((win (get-buffer-window)))
      (set-window-point win (point-max)))
    (setq buffer-read-only t)))