Function: git-commit-setup-orglink
git-commit-setup-orglink is a byte-compiled function defined in
git-commit.el.
Signature
(git-commit-setup-orglink)
Documentation
Turn on Orglink mode if it is available.
If git-commit-major-mode is org-mode, then silently forgo
turning on orglink-mode.
Aliases
git-commit-turn-on-orglink (obsolete since git-commit 4.6.0)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/git-commit.el
(defun git-commit-setup-orglink ()
"Turn on Orglink mode if it is available.
If `git-commit-major-mode' is `org-mode', then silently forgo
turning on `orglink-mode'."
(when (and (not (derived-mode-p 'org-mode))
(boundp 'orglink-match-anywhere)
(fboundp 'orglink-mode))
(setq-local orglink-match-anywhere t)
(orglink-mode 1)))