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