Subject: [Feature Request] user-option for killing buffer in `quit-window'.

From: Elijah Gabe Perez <[email-masked]>
Date: Wed, 12 Feb 2025 22:44:34 -0600

Hello, i would like to know why there is not an user-option for the
`quit-window' function to kill windows instead burying them.

I find this useful in buffers like `help-mode' to avoid filling
list-buffers with unnecessary buffers.

I'm currently using an `advice' to achieve this:

  (advice-add #'quit-window :around
              (lambda (orig-fn _ &rest window)
                (funcall orig-fn 't window)))

and honestly I would prefer an option like: "quit-window-kill-buffer"
(set to `nil' by default).

-- 
                                                   - E.G via GNU Emacs.