Function: recenter-window-group
recenter-window-group is a byte-compiled function defined in
window.el.gz.
Signature
(recenter-window-group &optional ARG)
Documentation
Center point in the group of windows containing the selected window
and maybe redisplay frame. When a grouping mode (such as Follow Mode)
is not active, this function is identical to recenter.
With a numeric prefix argument ARG, recenter putting point on screen line ARG relative to the first window in the selected window group. If ARG is negative, it counts up from the bottom of the last window in the group. (ARG should be less than the total height of the window group.)
If ARG is omitted or nil, then recenter with point on the middle line of
the selected window group; if the variable recenter-redisplay is
non-nil, also erase the entire frame and redraw it (when
auto-resize-tool-bars is set to grow-only, this resets the
tool-bar's height to the minimum height needed); if
recenter-redisplay has the special value tty, then only tty frames
are redrawn.
Just C-u (universal-argument) as prefix means put point in the center of the window
and redisplay normally--don't erase and redraw the frame.
Source Code
;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun recenter-window-group (&optional arg)
"Center point in the group of windows containing the selected window
and maybe redisplay frame. When a grouping mode (such as Follow Mode)
is not active, this function is identical to `recenter'.
With a numeric prefix argument ARG, recenter putting point on screen line ARG
relative to the first window in the selected window group. If ARG is
negative, it counts up from the bottom of the last window in the
group. (ARG should be less than the total height of the window group.)
If ARG is omitted or nil, then recenter with point on the middle line of
the selected window group; if the variable `recenter-redisplay' is
non-nil, also erase the entire frame and redraw it (when
`auto-resize-tool-bars' is set to `grow-only', this resets the
tool-bar's height to the minimum height needed); if
`recenter-redisplay' has the special value `tty', then only tty frames
are redrawn.
Just \\[universal-argument] as prefix means put point in the center of the window
and redisplay normally--don't erase and redraw the frame."
(if (functionp recenter-window-group-function)
(funcall recenter-window-group-function arg)
(recenter arg)))