Subject: Re: bug#61102: 28.1; with-selected-window/save-window-excursion calls buffer-list-update-hook only once

From: Al Haji-Ali <[email-masked]>
Date: Fri, 03 Feb 2023 11:49:14 +0000

On 03/02/2023, martin rudalics wrote:
> 'window-selection-change-functions' (or 'window-state-change-hook')
> should handle that.  If these don't work for you, please tell us why.

Indeed! I was using the code of `auto-dim-other-buffers` as a guide, and I am not sure why
`buffer-list-update-hook` is used there instead of `window-selection-change-functions`.
Your suggestion makes sense and I will stick to it.

Best regards,
-- Al