aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2014-06-21 11:17:29 +0300
committerEli Zaretskii2014-06-21 11:17:29 +0300
commit97a1ef484e61190deece48ee73b9b9d3b6be221c (patch)
treed873f3153d0974a44c7d929780506ec27be68fbb /doc
parent637bce026b02dc188eea42188e1d8ea8f4d3de3f (diff)
downloademacs-97a1ef484e61190deece48ee73b9b9d3b6be221c.tar.gz
emacs-97a1ef484e61190deece48ee73b9b9d3b6be221c.zip
Improve documentation of how vertical-motion interprets columns.
src/indent.c (Fvertical_motion): Doc fix. doc/lispref/positions.texi (Screen Lines): Clarify how columns are counted by vertical-motion.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/positions.texi6
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index c20a20409a2..4610c33796a 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12014-06-21 Eli Zaretskii <eliz@gnu.org>
2
3 * positions.texi (Screen Lines): Clarify how columns are counted
4 by vertical-motion.
5
12014-06-14 Eli Zaretskii <eliz@gnu.org> 62014-06-14 Eli Zaretskii <eliz@gnu.org>
2 7
3 * commands.texi (Accessing Mouse): Improve the wording of the 8 * commands.texi (Accessing Mouse): Improve the wording of the
diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi
index f83173e2038..fee36fa833d 100644
--- a/doc/lispref/positions.texi
+++ b/doc/lispref/positions.texi
@@ -500,7 +500,11 @@ is negative, it moves up instead.
500The @var{count} argument can be a cons cell, @code{(@var{cols} 500The @var{count} argument can be a cons cell, @code{(@var{cols}
501. @var{lines})}, instead of an integer. Then the function moves by 501. @var{lines})}, instead of an integer. Then the function moves by
502@var{lines} screen lines, and puts point @var{cols} columns from the 502@var{lines} screen lines, and puts point @var{cols} columns from the
503start of that screen line. 503visual start of that screen line. Note that @var{cols} are counted
504from the @emph{visual} start of the line; if the window is scrolled
505horizontally (@pxref{Horizontal Scrolling}), the column on which point
506will end is in addition to the number of columns by which the text is
507scrolled.
504 508
505The return value is the number of screen lines over which point was 509The return value is the number of screen lines over which point was
506moved. The value may be less in absolute value than @var{count} if 510moved. The value may be less in absolute value than @var{count} if