Subject: Re: bug#79065: 31.0.50; [PATCH] Allow inverting the meaning of 'quit-window-kill-buffer'

From: martin rudalics <[email-masked]>
Date: Wed, 30 Jul 2025 10:17:43 +0200

> I think we could make the Lisp calls work like you suggested, where the KILL argument can be:
 >
 > * 'nil': obey 'quit-window-kill-buffer'
 > * 'bury': always bury
 > * 'kill' (or any other non-nil value for compatibility): always kill

We should rename KILL to BURY-OR-KILL then.  I still don't know whether
and how we would integrate the list of major modes value.  Maybe we
should take a step back and try without that list value.  As Juri meant
the list could be emulated with the help of buffer-local values
installed by the major modes.

martin