changeset 97928:a7aba6c4cad5

(recenter-top-bottom): Doc fix.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 01 Sep 2008 17:47:51 +0000
parents 0f348d7eb083
children 8fd36062fb9c
files lisp/window.el
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/window.el	Mon Sep 01 17:47:35 2008 +0000
+++ b/lisp/window.el	Mon Sep 01 17:47:51 2008 +0000
@@ -1427,17 +1427,17 @@
 
 (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.