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

magit-diff-inside-hunk-body-p is a byte-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 ~/.emacs.d/elpa/magit-20260411.1452/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)))