Function: diff-hl-add-highlighting
diff-hl-add-highlighting is a natively compiled function defined in
diff-hl.el.
Signature
(diff-hl-add-highlighting TYPE SHAPE &optional OVL)
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-add-highlighting (type shape &optional ovl)
(let ((o (or ovl (make-overlay (point) (point)))))
(overlay-put o 'diff-hl t)
(funcall diff-hl-highlight-function o type shape)
o))