emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/window.el,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/window.el,v
Date: Mon, 01 Sep 2008 17:47:51 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/09/01 17:47:51

Index: window.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/window.el,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -b -r1.146 -r1.147
--- window.el   18 Aug 2008 03:46:51 -0000      1.146
+++ window.el   1 Sep 2008 17:47:51 -0000       1.147
@@ -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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]