Function: cider-repl-history-preview-update-by-position
cider-repl-history-preview-update-by-position is a byte-compiled
function defined in cider-repl-history.el.
Signature
(cider-repl-history-preview-update-by-position &optional PT)
Documentation
Update cider-repl-history-preview-overlay to match item at PT.
This function is called whenever the selection in the *cider-repl-history*
buffer is adjusted, the cider-repl-history-preview-overlay
is updated to preview the text of the selection at PT (or the
current point if not specified).
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-repl-history.el
(defun cider-repl-history-preview-update-by-position (&optional pt)
"Update `cider-repl-history-preview-overlay' to match item at PT.
This function is called whenever the selection in the *cider-repl-history*
buffer is adjusted, the `cider-repl-history-preview-overlay'
is updated to preview the text of the selection at PT (or the
current point if not specified)."
(let ((new-text (cider-repl-history-current-string
(or pt (point)) t)))
(cider-repl-history-preview-update-text new-text)))