aboutsummaryrefslogtreecommitdiffstats
path: root/src/indent.c
diff options
context:
space:
mode:
authorKarl Heuer1996-07-13 01:03:02 +0000
committerKarl Heuer1996-07-13 01:03:02 +0000
commit5f25660ca75a46c3f6b42ffd0b685cf63bbcc062 (patch)
treec4453b7ed6677707aab0afac697d620c44059c05 /src/indent.c
parentd69006dfee6de646e2c80d3b3b3754d1cc6d139c (diff)
downloademacs-5f25660ca75a46c3f6b42ffd0b685cf63bbcc062.tar.gz
emacs-5f25660ca75a46c3f6b42ffd0b685cf63bbcc062.zip
(Fvertical_motion): Doc fix.
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c27
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
1380DEFUN ("vertical-motion", Fvertical_motion, Svertical_motion, 1, 2, 0, 1380DEFUN ("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\
1382If LINES is negative, this is moving up.\n\ 1382If LINES is negative, this means moving up.\n\
1383\n\
1384This function is an ordinary cursor motion function\n\
1385which calculates the new position based on how text would be displayed.\n\
1386The new position may be the start of a line,\n\
1387or just the start of a continuation line.\n\
1388The function returns number of screen lines moved over;\n\
1389that usually equals LINES, but may be closer to zero\n\
1390if beginning or end of buffer was reached.\n\
1383\n\ 1391\n\
1384The optional second argument WINDOW specifies the window to use for\n\ 1392The optional second argument WINDOW specifies the window to use for\n\
1385parameters such as width, horizontal scrolling, and so on.\n\ 1393parameters such as width, horizontal scrolling, and so on.\n\
1386the default is the selected window.\n\ 1394The default is to use the selected window's parameters.\n\
1387It does not matter what buffer is displayed in WINDOW.\n\
1388`vertical-motion' always uses the current buffer.\n\
1389This makes it possible to use `vertical-motion' in any buffer,\n\
1390whether or not it is currently displayed in some window.\n\
1391\n\ 1395\n\
1392This function sets point to position found; this may be start of line\n\ 1396`vertical-motion' always uses the current buffer,\n\
1393or just the start of a continuation line.\n\ 1397regardless of which buffer is displayed in WINDOW.\n\
1394It returns number of lines moved; that may be closer to zero than LINES\n\ 1398This is consistent with other cursor motion functions\n\
1395if beginning or end of buffer was reached.") 1399and makes it possible to use `vertical-motion' in any buffer,\n\
1400whether 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{