Function: cider-new-error-buffer

cider-new-error-buffer is a byte-compiled function defined in cider-eval.el.

Signature

(cider-new-error-buffer &optional MODE ERROR-TYPES DONT-SHOW)

Documentation

Return an empty error buffer using MODE.

When deciding whether to display the buffer, takes into account not only the value of cider-show-error-buffer and the currently selected buffer but also the ERROR-TYPES of the error, which is checked against the cider-stacktrace-suppressed-errors set, and the value of DONT-SHOW.

When deciding whether to select the buffer, takes into account the value of cider-auto-select-error-buffer.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eval.el
(defun cider-new-error-buffer (&optional mode error-types dont-show)
  "Return an empty error buffer using MODE.

When deciding whether to display the buffer, takes into account not only
the value of `cider-show-error-buffer' and the currently selected buffer
but also the ERROR-TYPES of the error, which is checked against the
`cider-stacktrace-suppressed-errors' set, and the value of DONT-SHOW.

When deciding whether to select the buffer, takes into account the value of
`cider-auto-select-error-buffer'."
  (if (and (cider--show-error-buffer-p)
           (not dont-show)
           (not (cider-stacktrace-some-suppressed-errors-p error-types)))
      (cider-popup-buffer cider-error-buffer cider-auto-select-error-buffer mode 'ancillary)
    (cider-make-popup-buffer cider-error-buffer mode 'ancillary)))