Function: cider-repl-history-update-highlighted-entry
cider-repl-history-update-highlighted-entry is a byte-compiled
function defined in cider-repl-history.el.
Signature
(cider-repl-history-update-highlighted-entry)
Documentation
Update highlighted entry, when feature is turned on.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-repl-history.el
(defun cider-repl-history-update-highlighted-entry ()
"Update highlighted entry, when feature is turned on."
(when cider-repl-history-highlight-current-entry
(if-let* ((current-overlay (cider-repl-history-target-overlay-at (point) t)))
(unless (equal cider-repl-history-previous-overlay current-overlay)
;; We've changed overlay. Clear current highlighting,
;; and highlight the new overlay.
(cl-assert (overlay-get current-overlay 'cider-repl-history-target) t)
(cider-repl-history-clear-highlighted-entry)
(setq cider-repl-history-previous-overlay current-overlay)
(overlay-put current-overlay 'face
cider-repl-history-current-entry-face))
;; No overlay at point. Just clear all current highlighting.
(cider-repl-history-clear-highlighted-entry))))