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: Daimrod
Subject: bug#17769: 24.4.50; [PATCH] rcirc-omit-mode: `recenter'ing a window that does not display current-buffer.
Date: Sat, 14 Jun 2014 01:08:52 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

martin rudalics <rudalics@gmx.at> writes:

>>> 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)))

I see, thanks for inputs.

Here is an updated patch.

Attachment: 0001-lisp-net-rcirc.el-rcirc-omit-mode-recenter-the-corre.patch
Description: Text Data

--
Daimrod/Greg

reply via email to

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