Subject: bug#6078: 23.1.90; switch-to-buffer does not redisplay until an event occurs

From: Stefan Monnier <[email-masked]>
Date: Mon, 03 May 2010 12:32:22 -0400

> (BTW, you need neither the `select-window' nor the `switch-to-buffer'
> in your code, `set-window-buffer' is sufficient.)

OTOH, you'll want to pay attention to dedicated windows
(i.e. save&restore the window-dedicated-p value).

        Stefan