aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-09-01 17:47:51 +0000
committerChong Yidong2008-09-01 17:47:51 +0000
commita6665c37eb6095f919ad127b936cf3665019da53 (patch)
tree9bcabe3bf78947eade8ddfc35084cfec389cd40d
parentf78a284a256f45c9734abd2632c644e5fb022909 (diff)
downloademacs-a6665c37eb6095f919ad127b936cf3665019da53.tar.gz
emacs-a6665c37eb6095f919ad127b936cf3665019da53.zip
(recenter-top-bottom): Doc fix.
-rw-r--r--lisp/window.el14
1 files changed, 7 insertions, 7 deletions
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'.")
1427 1427
1428(defun recenter-top-bottom (&optional arg) 1428(defun recenter-top-bottom (&optional arg)
1429 "Move current line to window center, top, and bottom, successively. 1429 "Move current line to window center, top, and bottom, successively.
1430With a prefix argument, this is the same as `recenter': 1430With no prefix argument, the first call redraws the frame and
1431 centers point vertically within the window. Successive calls
1432 scroll the window, placing point on the top, bottom, and middle
1433 consecutively. The cycling order is middle -> top -> bottom.
1434
1435A prefix argument is handled like `recenter':
1431 With numeric prefix ARG, move current line to window-line ARG. 1436 With numeric prefix ARG, move current line to window-line ARG.
1432 With plain `C-u', move current line to window center. 1437 With plain `C-u', move current line to window center.
1433 1438
1434Otherwise move current line to window center on first call, and to
1435top, middle, or bottom on successive calls.
1436
1437The cycling order is: middle -> top -> bottom.
1438
1439Top and bottom destinations are actually `scroll-margin' lines 1439Top and bottom destinations are actually `scroll-margin' lines
1440the from true window top and bottom." 1440 the from true window top and bottom."
1441 (interactive "P") 1441 (interactive "P")
1442 (cond 1442 (cond
1443 (arg (recenter arg)) ; Always respect ARG. 1443 (arg (recenter arg)) ; Always respect ARG.