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

From: martin rudalics <[email-masked]>
Date: Fri, 26 Apr 2019 09:41:02 +0200

> How 'bout adding an optional argument to `generate-new-buffer` to set
 > `inhibit_buffer_hooks`?

How about moving 'generate-new-buffer' to C to set that flag without
exposing it to Lisp (and to avoid things like

             ;; We can't use `generate-new-buffer' because files.el
             ;; is not yet loaded.

in 'load-with-code-conversion')?

martin