Commit ea30ce4f authored by Chong Yidong's avatar Chong Yidong

* positions.texi (Screen Lines): Document (cols . lines) argument

for vertical-motion.
parent 9496c82e
2009-04-05 Chong Yidong <cyd@stupidchicken.com>
* positions.texi (Screen Lines): Document (cols . lines) argument
for vertical-motion.
2009-04-04 Chong Yidong <cyd@stupidchicken.com>
* frames.texi (Frames): Clean up introduction. Document `ns'
......
......@@ -520,9 +520,14 @@ This function moves point to the start of the screen line @var{count}
screen lines down from the screen line containing point. If @var{count}
is negative, it moves up instead.
@code{vertical-motion} returns the number of screen lines over which it
moved point. The value may be less in absolute value than @var{count}
if the beginning or end of the buffer was reached.
The @var{count} argument can be a cons cell, @code{(@var{cols}
. @var{lines})}, instead of an integer. Then the function moves by
@var{lines} screen lines, and puts point @var{cols} columns from the
start of that screen line.
The return value is the number of screen lines over which point was
moved. The value may be less in absolute value than @var{count} if
the beginning or end of the buffer was reached.
The window @var{window} is used for obtaining parameters such as the
width, the horizontal scrolling, and the display table. But
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment