Function: org-man-export@gitman

org-man-export@gitman is a natively compiled function defined in magit-base.el.

Signature

(org-man-export@gitman FN LINK DESCRIPTION FORMAT)

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-base.el
;; When making changes here, then also adjust the copy in docs/Makefile.
;;;###autoload
(define-advice org-man-export (:around (fn link description format) gitman)
  (if (and (eq format 'texinfo)
           (string-prefix-p "git" link))
      (string-replace "%s" link "
@ifinfo
@ref{%s,,,gitman,}.
@end ifinfo
@ifhtml
@html
the <a href=\"http://git-scm.com/docs/%s\">%s(1)</a> manpage.
@end html
@end ifhtml
@iftex
the %s(1) manpage.
@end iftex
")
    (funcall fn link description format)))