Function: cider-repl-history-current-string

cider-repl-history-current-string is a byte-compiled function defined in cider-repl-history.el.

Signature

(cider-repl-history-current-string PT &optional NO-ERROR)

Documentation

Find the string to insert into the REPL by looking for the overlay at PT.

Might error unless NO-ERROR set.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-repl-history.el
(defun cider-repl-history-current-string (pt &optional no-error)
  "Find the string to insert into the REPL by looking for the overlay at PT.
Might error unless NO-ERROR set."
  (let ((o (cider-repl-history-target-overlay-at pt t)))
    (if o
        (overlay-get o 'cider-repl-history-target)
      (unless no-error
        (error "No CIDER history item in this buffer")))))