From: Chong Yidong Date: Mon, 1 Sep 2008 17:47:51 +0000 (+0000) Subject: (recenter-top-bottom): Doc fix. X-Git-Tag: emacs-pretest-23.0.90~3091 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a6665c37eb6095f919ad127b936cf3665019da53;p=emacs.git (recenter-top-bottom): Doc fix. --- diff --git a/lisp/window.el b/lisp/window.el index 2439c9f8c6b..972e54083e7 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -1427,17 +1427,17 @@ Possible values: `top', `middle', `bottom'.") (defun recenter-top-bottom (&optional arg) "Move current line to window center, top, and bottom, successively. -With a prefix argument, this is the same as `recenter': +With no prefix argument, the first call redraws the frame and + centers point vertically within the window. Successive calls + scroll the window, placing point on the top, bottom, and middle + consecutively. The cycling order is middle -> top -> bottom. + +A prefix argument is handled like `recenter': With numeric prefix ARG, move current line to window-line ARG. With plain `C-u', move current line to window center. -Otherwise move current line to window center on first call, and to -top, middle, or bottom on successive calls. - -The cycling order is: middle -> top -> bottom. - Top and bottom destinations are actually `scroll-margin' lines -the from true window top and bottom." + the from true window top and bottom." (interactive "P") (cond (arg (recenter arg)) ; Always respect ARG.