diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/positions.texi | 11 |
2 files changed, 13 insertions, 3 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 35467cf747a..ebd2f54d07d 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-04-05 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * positions.texi (Screen Lines): Document (cols . lines) argument | ||
| 4 | for vertical-motion. | ||
| 5 | |||
| 1 | 2009-04-04 Chong Yidong <cyd@stupidchicken.com> | 6 | 2009-04-04 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * frames.texi (Frames): Clean up introduction. Document `ns' | 8 | * frames.texi (Frames): Clean up introduction. Document `ns' |
diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi index a74a4ab8098..06b696ea3a4 100644 --- a/doc/lispref/positions.texi +++ b/doc/lispref/positions.texi | |||
| @@ -520,9 +520,14 @@ This function moves point to the start of the screen line @var{count} | |||
| 520 | screen lines down from the screen line containing point. If @var{count} | 520 | screen lines down from the screen line containing point. If @var{count} |
| 521 | is negative, it moves up instead. | 521 | is negative, it moves up instead. |
| 522 | 522 | ||
| 523 | @code{vertical-motion} returns the number of screen lines over which it | 523 | The @var{count} argument can be a cons cell, @code{(@var{cols} |
| 524 | moved point. The value may be less in absolute value than @var{count} | 524 | . @var{lines})}, instead of an integer. Then the function moves by |
| 525 | if the beginning or end of the buffer was reached. | 525 | @var{lines} screen lines, and puts point @var{cols} columns from the |
| 526 | start of that screen line. | ||
| 527 | |||
| 528 | The return value is the number of screen lines over which point was | ||
| 529 | moved. The value may be less in absolute value than @var{count} if | ||
| 530 | the beginning or end of the buffer was reached. | ||
| 526 | 531 | ||
| 527 | The window @var{window} is used for obtaining parameters such as the | 532 | The window @var{window} is used for obtaining parameters such as the |
| 528 | width, the horizontal scrolling, and the display table. But | 533 | width, the horizontal scrolling, and the display table. But |