diff options
| author | Karl Heuer | 1996-07-13 01:03:02 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-07-13 01:03:02 +0000 |
| commit | 5f25660ca75a46c3f6b42ffd0b685cf63bbcc062 (patch) | |
| tree | c4453b7ed6677707aab0afac697d620c44059c05 /src/indent.c | |
| parent | d69006dfee6de646e2c80d3b3b3754d1cc6d139c (diff) | |
| download | emacs-5f25660ca75a46c3f6b42ffd0b685cf63bbcc062.tar.gz emacs-5f25660ca75a46c3f6b42ffd0b685cf63bbcc062.zip | |
(Fvertical_motion): Doc fix.
Diffstat (limited to 'src/indent.c')
| -rw-r--r-- | src/indent.c | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/src/indent.c b/src/indent.c index 2584b0478dc..503038b5401 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -1378,21 +1378,26 @@ vmotion (from, vtarget, w) | |||
| 1378 | } | 1378 | } |
| 1379 | 1379 | ||
| 1380 | DEFUN ("vertical-motion", Fvertical_motion, Svertical_motion, 1, 2, 0, | 1380 | DEFUN ("vertical-motion", Fvertical_motion, Svertical_motion, 1, 2, 0, |
| 1381 | "Move to start of screen line LINES lines down.\n\ | 1381 | "Move point to start of the screen line LINES lines down.\n\ |
| 1382 | If LINES is negative, this is moving up.\n\ | 1382 | If LINES is negative, this means moving up.\n\ |
| 1383 | \n\ | ||
| 1384 | This function is an ordinary cursor motion function\n\ | ||
| 1385 | which calculates the new position based on how text would be displayed.\n\ | ||
| 1386 | The new position may be the start of a line,\n\ | ||
| 1387 | or just the start of a continuation line.\n\ | ||
| 1388 | The function returns number of screen lines moved over;\n\ | ||
| 1389 | that usually equals LINES, but may be closer to zero\n\ | ||
| 1390 | if beginning or end of buffer was reached.\n\ | ||
| 1383 | \n\ | 1391 | \n\ |
| 1384 | The optional second argument WINDOW specifies the window to use for\n\ | 1392 | The optional second argument WINDOW specifies the window to use for\n\ |
| 1385 | parameters such as width, horizontal scrolling, and so on.\n\ | 1393 | parameters such as width, horizontal scrolling, and so on.\n\ |
| 1386 | the default is the selected window.\n\ | 1394 | The default is to use the selected window's parameters.\n\ |
| 1387 | It does not matter what buffer is displayed in WINDOW.\n\ | ||
| 1388 | `vertical-motion' always uses the current buffer.\n\ | ||
| 1389 | This makes it possible to use `vertical-motion' in any buffer,\n\ | ||
| 1390 | whether or not it is currently displayed in some window.\n\ | ||
| 1391 | \n\ | 1395 | \n\ |
| 1392 | This function sets point to position found; this may be start of line\n\ | 1396 | `vertical-motion' always uses the current buffer,\n\ |
| 1393 | or just the start of a continuation line.\n\ | 1397 | regardless of which buffer is displayed in WINDOW.\n\ |
| 1394 | It returns number of lines moved; that may be closer to zero than LINES\n\ | 1398 | This is consistent with other cursor motion functions\n\ |
| 1395 | if beginning or end of buffer was reached.") | 1399 | and makes it possible to use `vertical-motion' in any buffer,\n\ |
| 1400 | whether or not it is currently displayed in some window.") | ||
| 1396 | (lines, window) | 1401 | (lines, window) |
| 1397 | Lisp_Object lines, window; | 1402 | Lisp_Object lines, window; |
| 1398 | { | 1403 | { |