Function: diff-hl-overlay-modified

diff-hl-overlay-modified is a natively compiled function defined in diff-hl.el.

Signature

(diff-hl-overlay-modified OV AFTER-P BEG END &optional LENGTH)

Documentation

Delete the hunk overlay and all our line overlays inside it.

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-overlay-modified (ov after-p _beg _end &optional _length)
  "Delete the hunk overlay and all our line overlays inside it."
  (unless after-p
    (when (overlay-buffer ov)
      (diff-hl-remove-overlays (overlay-start ov) (overlay-end ov))
      (delete-overlay ov))))