Function: magit-mode-bury-buffer
magit-mode-bury-buffer is an interactive and byte-compiled function
defined in magit-mode.el.
Signature
(magit-mode-bury-buffer &optional KILL-BUFFER)
Documentation
Bury or kill the current buffer.
Use magit-bury-buffer-function to bury the buffer when called
without a prefix argument or to kill it when called with a single
prefix argument.
With two prefix arguments, always kill the current and all other Magit buffers, associated with this repository.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-mode.el
;;; Bury Buffer
(defun magit-mode-bury-buffer (&optional kill-buffer)
"Bury or kill the current buffer.
Use `magit-bury-buffer-function' to bury the buffer when called
without a prefix argument or to kill it when called with a single
prefix argument.
With two prefix arguments, always kill the current and all other
Magit buffers, associated with this repository."
(interactive "P")
(if (>= (prefix-numeric-value kill-buffer) 16)
(mapc #'kill-buffer (magit-mode-get-buffers))
(funcall magit-bury-buffer-function kill-buffer)))