aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/positions.texi14
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi
index 1d748b87529..796a06615ae 100644
--- a/doc/lispref/positions.texi
+++ b/doc/lispref/positions.texi
@@ -590,10 +590,12 @@ any buffer, whether or not it is currently displayed in some window.
590@deffn Command move-to-window-line count 590@deffn Command move-to-window-line count
591This function moves point with respect to the text currently displayed 591This function moves point with respect to the text currently displayed
592in the selected window. It moves point to the beginning of the screen 592in the selected window. It moves point to the beginning of the screen
593line @var{count} screen lines from the top of the window. If 593line @var{count} screen lines from the top of the window; zero means
594@var{count} is negative, that specifies a position 594the topmost line. If @var{count} is negative, that specifies a
595@w{@minus{}@var{count}} lines from the bottom (or the last line of the 595position @w{@minus{}@var{count}} lines from the bottom (or the last
596buffer, if the buffer ends above the specified screen position). 596line of the buffer, if the buffer ends above the specified screen
597position); thus, @var{count} of -1 specifies the last fully visible
598screen line of the window.
597 599
598If @var{count} is @code{nil}, then point moves to the beginning of the 600If @var{count} is @code{nil}, then point moves to the beginning of the
599line in the middle of the window. If the absolute value of @var{count} 601line in the middle of the window. If the absolute value of @var{count}
@@ -604,8 +606,8 @@ location onto the screen.
604 606
605In an interactive call, @var{count} is the numeric prefix argument. 607In an interactive call, @var{count} is the numeric prefix argument.
606 608
607The value returned is the window line number point has moved to, with 609The value returned is the screen line number point has moved to,
608the top line in the window numbered 0. 610relative to the top line of the window.
609@end deffn 611@end deffn
610 612
611@vindex move-to-window-group-line-function 613@vindex move-to-window-group-line-function