Variable: magit-bury-buffer-function

magit-bury-buffer-function is a customizable variable defined in magit-mode.el.

Value

magit-mode-quit-window

Documentation

The function used to bury or kill the current Magit buffer.

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

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-mode.el
(defcustom magit-bury-buffer-function #'magit-mode-quit-window
  "The function used to bury or kill the current Magit buffer."
  :package-version '(magit . "3.2.0")
  :group 'magit-buffers
  :type `(radio (function-item ,#'quit-window)
                (function-item ,#'magit-mode-quit-window)
                (function-item ,#'magit-restore-window-configuration)
                (function :tag "Function")))