Function: helpful--flash-region

helpful--flash-region is a byte-compiled function defined in helpful.el.

Signature

(helpful--flash-region START END)

Documentation

Temporarily highlight region from START to END.

Source Code

;; Defined in ~/.emacs.d/elpa/helpful-20250408.334/helpful.el
(defun helpful--flash-region (start end)
  "Temporarily highlight region from START to END."
  (let ((overlay (make-overlay start end)))
    (overlay-put overlay 'face 'highlight)
    (run-with-timer 1.5 nil 'delete-overlay overlay)))