Subject: Re: bug#44202: [PATCH] Add variable to control confirmation of help-mode-revert-buffer

From: Stefan Kangas <[email-masked]>
Date: Sun, 25 Oct 2020 11:42:13 -0700

Lars Ingebrigtsen <[email-masked]> writes:

> But...  I think it would be helpful if help-mode-revert-buffer (and
> other similar functions) did heed that variable -- then there'd be one
> simple way to control all this.

Agreed.  It would seem logical to just be able to say:

(add-to-list 'revert-without-query "\\`\\*Help\\*\\'")

> Or even perhaps have revert-buffer look at that variable and do the
> right thing instead of punting to revert-buffer--default.
>
> That is, it would look at file names for buffers visiting files, and
> buffer names for other buffers.

If we could get `revert-buffer' to handle this, it seems to me that it
would be even better.