Subject: Re: bug#59153: List project buffers

From: Dmitry Gutov <[email-masked]>
Date: Mon, 14 Nov 2022 00:18:13 +0200

On 13.11.2022 19:57, Juri Linkov wrote:
>> Or just use an Emacs version check. It doesn't feel as nice, but should
>> work fine nevertheless.
> Using an Emacs version check is the best thing to do
> because it will allow to hide (undefine) the whole
> new function (and its keybinding) in older versions
> since the new function don't work reliably without
> accompanying changes in buff-menu.el.

If you're sure, maybe.

But I would imagine that users of Emacs 28 and earlier would rather 
enjoy the new command (with a 'g' caveat) than have it disabled.

As a safety measure, in older Emacs you could also set 
'revert-buffer-function' locally to something displaying an error.

I don't remember using 'g' in ibuffer or list-buffers much anyway. But 
that depends on one's habits.