Function: cider-repl--history-doctor-show

cider-repl--history-doctor-show is a byte-compiled function defined in cider-repl.el.

Signature

(cider-repl--history-doctor-show BUF IDX ENTRY I TOTAL)

Documentation

Display ENTRY at history index IDX in BUF, with progress header (I/TOTAL).

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-repl.el
(defun cider-repl--history-doctor-show (buf idx entry i total)
  "Display ENTRY at history index IDX in BUF, with progress header (I/TOTAL)."
  (with-current-buffer buf
    (let ((inhibit-read-only t))
      (erase-buffer)
      (insert (format ";; Malformed entry %d/%d -- history index %d, %d chars\n"
                      i total idx (length entry)))
      (insert ";; y = delete, n = keep, q = stop reviewing\n\n")
      (insert entry))
    (goto-char (point-min))))