Subject: Re: bug#69093: window-state-put doesn't update current buffer

From: Juri Linkov <[email-masked]>
Date: Sun, 18 Feb 2024 09:43:09 +0200

> Or could you tell beforehand which buffer will be current after
>
> (let ((configuration (current-window-configuration)))
>   (pop-to-buffer "*Messages*" '((display-buffer-pop-up-frame)))
>   (set-window-configuration configuration)
>   (current-buffer))

Does this ambiguity exist only for multi-frame setups where
a system window manager decides what frame to select afterwards?