Variable: magit-diff-sections-hook
magit-diff-sections-hook is a customizable variable defined in
magit-diff.el.
Value
(magit-insert-diff
magit-insert-xref-buttons)
Documentation
Hook run to insert sections into a magit-diff-mode buffer.
This variable was added, or its default value changed, in magit version 2.3.0.
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-diff.el
(defcustom magit-diff-sections-hook
(list #'magit-insert-diff
#'magit-insert-xref-buttons)
"Hook run to insert sections into a `magit-diff-mode' buffer."
:package-version '(magit . "2.3.0")
:group 'magit-diff
:type 'hook)