summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2001-01-03 00:31:18 +0000
committerRichard M. Stallman <rms@gnu.org>2001-01-03 00:31:18 +0000
commit04212fcbbd5616b5fb4c64b9ac35a8abca64cb40 (patch)
treeba538afd2f9410475d4e4d2df49e7a3a8ffe7eb9 /src
parent5297fb001f7c204775bf4f9f958f552b599e6e94 (diff)
downloademacs-04212fcbbd5616b5fb4c64b9ac35a8abca64cb40.tar.gz
emacs-04212fcbbd5616b5fb4c64b9ac35a8abca64cb40.tar.bz2
emacs-04212fcbbd5616b5fb4c64b9ac35a8abca64cb40.zip
(Frecenter): Doc fix.
Diffstat (limited to 'src')
-rw-r--r--src/window.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/window.c b/src/window.c
index af5e61bef85..25434f5b718 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4431,7 +4431,6 @@ Default for ARG is window width minus 2.")
- XINT (arg)));
}
-
/* Value is the number of lines actually displayed in window W,
as opposed to its height. */
@@ -4480,11 +4479,15 @@ displayed_window_lines (w)
DEFUN ("recenter", Frecenter, Srecenter, 0, 1, "P",
- "Center point in window and redisplay frame. With ARG, put point on line ARG.\n\
-The desired position of point is always relative to the current window.\n\
-Just C-u as prefix means put point in the center of the window.\n\
-If ARG is omitted or nil, erases the entire frame and then\n\
-redraws with point in the center of the current window.")
+ "Center point in window and redisplay frame.\n\
+With prefix argument ARG, recenter putting point on screen line ARG\n\
+relative to the current window. If ARG is negative, it counts up from the\n\
+bottom of the window. (ARG should be less than the height of the window.)\n\
+\n\
+If ARG is omitted or nil, erase the entire frame and then\n\
+redraw with point in the center of the current window.\n\
+Just C-u as prefix means put point in the center of the window\n\
+and redisplay normally--don't erase and redraw the frame.")
(arg)
register Lisp_Object arg;
{