Function: magit-disable-section-inserter

magit-disable-section-inserter is a byte-compiled function defined in magit-section.el.

Signature

(magit-disable-section-inserter FN)

Documentation

Disable the section inserter FN in the current repository.

It is only intended for use in ".dir-locals.el" and
".dir-locals-2.el". Also see info node (magit)Per-Repository
Configuration.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(defun magit-disable-section-inserter (fn)
  "Disable the section inserter FN in the current repository.
It is only intended for use in \".dir-locals.el\" and
\".dir-locals-2.el\".  Also see info node `(magit)Per-Repository
Configuration'."
  (cl-pushnew fn magit-disabled-section-inserters))