Function: cider-history-preview-update-by-position
cider-history-preview-update-by-position is a byte-compiled function
defined in cider-history.el.
Signature
(cider-history-preview-update-by-position &optional PT)
Documentation
Update cider-history-preview-overlay to match item at PT.
This function is called whenever the selection in the *cider-history*
buffer is adjusted, the cider-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-20260822.1520/cider-history.el
(defun cider-history-preview-update-by-position (&optional pt)
"Update `cider-history-preview-overlay' to match item at PT.
This function is called whenever the selection in the *cider-history*
buffer is adjusted, the `cider-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-history-current-string
(or pt (point)) t)))
(cider-history-preview-update-text new-text)))