comparison src/window.c @ 201:eb5470882647 r20-3b27

Import from CVS: tag r20-3b27
author cvs
date Mon, 13 Aug 2007 10:01:22 +0200
parents a2f645c6b9f8
children 850242ba4a81
comparison
equal deleted inserted replaced
200:f0deb0c0e6be 201:eb5470882647
4127 4127
4128 return Fset_window_hscroll (window, make_int (w->hscroll - XINT (arg))); 4128 return Fset_window_hscroll (window, make_int (w->hscroll - XINT (arg)));
4129 } 4129 }
4130 4130
4131 DEFUN ("recenter", Frecenter, 0, 2, "_P", /* 4131 DEFUN ("recenter", Frecenter, 0, 2, "_P", /*
4132 Center point in WINDOW and redisplay frame. With ARG, put point on line ARG. 4132 Center point in WINDOW and redisplay frame. With N, put point on line N.
4133 The desired position of point is always relative to the window. 4133 The desired position of point is always relative to the window.
4134 Just C-u as prefix means put point in the center of the window. 4134 Just C-u as prefix means put point in the center of the window.
4135 No arg (i.e., it is nil) erases the entire frame and then 4135 No N (i.e., it is nil) erases the entire frame and then
4136 redraws with point in the center of the window. 4136 redraws with point in the center of the window.
4137 If WINDOW is nil, the selected window is used. 4137 If WINDOW is nil, the selected window is used.
4138 */ 4138 */
4139 (n, window)) 4139 (n, window))
4140 { 4140 {