Function: magit-diff-inside-hunk-body-p

magit-diff-inside-hunk-body-p is a natively compiled function defined in magit-diff.el.

Signature

(magit-diff-inside-hunk-body-p)

Documentation

Return t if point is inside the body of a hunk.

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-diff.el
;;; Utilities

(defun magit-diff-inside-hunk-body-p ()
  "Return t if point is inside the body of a hunk."
  (and-let* ((section (magit-current-section))
             (_(cl-typep section 'magit-hunk-section))
             (content (oref section content)))
    (> (magit-point) content)))