Function: magit-module-at-point

magit-module-at-point is a byte-compiled function defined in magit-git.el.

Signature

(magit-module-at-point &optional PREDICATE)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defun magit-module-at-point (&optional predicate)
  (when (magit-section-match 'module)
    (let ((module (oref (magit-current-section) value)))
      (and (or (not predicate)
               (funcall predicate module))
           module))))