Function: diff-hl-remove-overlays

diff-hl-remove-overlays is a natively compiled function defined in diff-hl.el.

Signature

(diff-hl-remove-overlays &optional BEG END)

Aliases

diff-hl-dired-clear

Source Code

;; Defined in /nix/store/cfz56rl3lp066226i0bmmgiicls3gcq7-emacs-packages-deps/share/emacs/site-lisp/elpa/diff-hl-20261001.135/diff-hl.el
(defun diff-hl-remove-overlays (&optional beg end)
  (save-restriction
    (widen)
    (dolist (o (overlays-in (or beg (point-min)) (or end (point-max))))
      (when (overlay-get o 'diff-hl) (delete-overlay o)))))