bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: martin rudalics
Subject: bug#34765: 26.1; with-temp-buffer should not run buffer-list-update-hook
Date: Fri, 26 Apr 2019 13:00:06 +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')?

Fine with me.

I attach a preliminary patch.

martin


Attachment: inhibit-buffer-hooks.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]