Function: majutsu-mode-bury-buffer
majutsu-mode-bury-buffer is an interactive and natively compiled
function defined in majutsu-mode.el.
Signature
(majutsu-mode-bury-buffer &optional KILL-BUFFER)
Documentation
Bury or kill the current buffer.
Use majutsu-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 Majutsu buffers, associated with this repository.
Key Bindings
majutsu-evolog-diff-mode-map q majutsu-mode-map q
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-mode.el
(defun majutsu-mode-bury-buffer (&optional kill-buffer)
"Bury or kill the current buffer.
Use `majutsu-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
Majutsu buffers, associated with this repository."
(interactive "P")
(if (>= (prefix-numeric-value kill-buffer) 16)
(mapc #'kill-buffer (majutsu-mode-get-buffers))
(funcall majutsu-bury-buffer-function kill-buffer)))