Function: cider-log--read-buffer

cider-log--read-buffer is a byte-compiled function defined in cider-log.el.

Signature

(cider-log--read-buffer &optional PROMPT INITIAL-INPUT HISTORY)

Documentation

Read the log buffer name using PROMPT, INITIAL-INPUT and HISTORY.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-log.el
(defun cider-log--read-buffer (&optional prompt initial-input history)
  "Read the log buffer name using PROMPT, INITIAL-INPUT and HISTORY."
  (let ((table (seq-map #'buffer-name (cider-log--buffers-in-major-mode 'cider-log-mode))))
    (completing-read (or prompt "Buffer: ") table nil nil
                     (or initial-input cider-log-buffer)
                     history cider-log-buffer)))