Subject: Re: bug#17769: 24.4.50; [PATCH] rcirc-omit-mode: `recenter'ing a window that does not display current-buffer.

From: martin rudalics <[email-masked]>
Date: Fri, 13 Jun 2014 16:23:18 +0200

>> Strictly spoken this should read "But if it is displayed in the selected
 >> window, recenter that window."
 >
 > No, because in that case it would already have been done by a normal
 > call to recenter.

Unless the selected window displayed another buffer.  Then you probably
mean something like

   (dolist (window (get-buffer-window-list buffer))
     (with-selected-window window (recenter)))

martin