Subject: Re: bug#10144: 24.0.91; `pop-up-frames' with dedicated windows is broken: `C-x C-f'

From: Chong Yidong <[email-masked]>
Date: Tue, 29 Nov 2011 13:26:10 +0800

Stefan Monnier <[email-masked]> writes:

> I reverted the code to a behavior closer to Emacs-23's behavior.

Using set-window-buffer has the disadvantage that now switch-to-buffer
can't be affected by display-buffer-alist (except for the
dedicated/minibuffer window case where pop-to-buffer is used).

Why not use pop-to-buffer-same-window there, rather than
set-window-buffer?