[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: |
Eli Zaretskii |
Subject: |
bug#34765: 26.1; with-temp-buffer should not run buffer-list-update-hook |
Date: |
Wed, 06 Mar 2019 17:41:08 +0200 |
> Date: Wed, 06 Mar 2019 15:13:37 +0100
> From: martin rudalics <rudalics@gmx.at>
> Cc: 34765@debbugs.gnu.org
>
> 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?