Function: cider-repl-history-insert-and-highlight

cider-repl-history-insert-and-highlight is a byte-compiled function defined in cider-repl-history.el.

Signature

(cider-repl-history-insert-and-highlight STR)

Documentation

Helper function to insert STR at point, highlighting it if appropriate.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-repl-history.el
(defun cider-repl-history-insert-and-highlight (str)
  "Helper function to insert STR at point, highlighting it if appropriate."
  (let ((before-insert (point)))
    (let (deactivate-mark)
      (insert-for-yank str))
    (cider-repl-history-highlight-inserted
     before-insert
     (point))))