martin rudalics 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.