Subject: bug#32790: 27.0.50; point jumps unexpectedly after delete-window

From: Juri Linkov <[email-masked]>
Date: Thu, 22 Nov 2018 01:38:47 +0200

> Then 'switch-to-buffer' will show the buffer in the selected window
> and 'pop-to-buffer-same-window' will find it there.  Or what am I
> missing?

If a new option is non-nil, switch-to-buffer could call
pop-to-buffer-same-window, and if the selected window
remains the same, then continue doing what it normally does:
set-window-buffer, set-window-start, set-window-point, etc.