Subject: Re: bug#34765: 26.1; with-temp-buffer should not run buffer-list-update-hook

From: Eli Zaretskii <[email-masked]>
Date: Wed, 06 Mar 2019 17:41:08 +0200

> Date: Wed, 06 Mar 2019 15:13:37 +0100
> From: martin rudalics <[email-masked]>
> Cc: [email-masked]
> 
> Maybe we should indeed rebind 'buffer-list-update-hook' around the
> 'generate-new-buffer' and 'kill-buffer' calls of 'with-temp-buffer'.

Wouldn't that be a backward-incompatible change?  How long did we call
that hook for temporary buffers?  Also, can generate-new-buffer and/or
kill-buffer run some hooks which might modify other, non-temporary
buffers?