Variable: magit-stash-sections-hook

magit-stash-sections-hook is a customizable variable defined in magit-stash.el.

Value

(magit-insert-stash-notes
 magit-insert-stash-worktree
 magit-insert-stash-index
 magit-insert-stash-untracked)

Documentation

Hook run to insert sections into stash diff buffers.

This variable was added, or its default value changed, in magit version 2.1.0.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-stash.el
;;;; Diff options

(defcustom magit-stash-sections-hook
  (list #'magit-insert-stash-notes
        #'magit-insert-stash-worktree
        #'magit-insert-stash-index
        #'magit-insert-stash-untracked)
  "Hook run to insert sections into stash diff buffers."
  :package-version '(magit . "2.1.0")
  :group 'magit-stash
  :type 'hook)