Mercurial > emacs
diff src/editfns.c @ 109684:dbc0119ac80e
Make some doc strings bidi-friendly.
cmds.c (Fforward_line, Fbeginning_of_line, Fend_of_line):
editfns.c (Fline_beginning_position, Fline_end_position): State
in the doc strings that start and end of line are in the logical order.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sun, 08 Aug 2010 19:43:26 +0300 |
parents | c4c8e4a16194 |
children | 64732fa6188a |
line wrap: on
line diff
--- a/src/editfns.c Sun Aug 08 19:23:11 2010 +0300 +++ b/src/editfns.c Sun Aug 08 19:43:26 2010 +0300 @@ -805,6 +805,9 @@ With argument N not nil or 1, move forward N - 1 lines first. If scan reaches end of buffer, return that position. +The returned position is of the first character in the logical order, +i.e. the one that has the smallest character position. + This function constrains the returned position to the current field unless that would be on a different line than the original, unconstrained result. If N is nil or 1, and a front-sticky field @@ -843,6 +846,9 @@ With argument N not nil or 1, move forward N - 1 lines first. If scan reaches end of buffer, return that position. +The returned position is of the last character in the logical order, +i.e. the character whose buffer position is the largest one. + This function constrains the returned position to the current field unless that would be on a different line than the original, unconstrained result. If N is nil or 1, and a rear-sticky field ends