Function: cider-test--append-to-report

cider-test--append-to-report is a byte-compiled function defined in cider-test.el.

Signature

(cider-test--append-to-report BUFFER FN)

Documentation

Call FN to insert at the end of the report BUFFER, if it's still live.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20261106.1225/cider-test.el
(defun cider-test--append-to-report (buffer fn)
  "Call FN to insert at the end of the report BUFFER, if it's still live."
  (when (buffer-live-p buffer)
    (with-current-buffer buffer
      (let ((inhibit-read-only t))
        (save-excursion
          (goto-char (point-max))
          (funcall fn))))))