bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17769: 24.4.50; [PATCH] rcirc-omit-mode: `recenter'ing a window that


From: martin rudalics
Subject: bug#17769: 24.4.50; [PATCH] rcirc-omit-mode: `recenter'ing a window that does not display current-buffer.
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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]