diff options
author | Eli Zaretskii <eliz@gnu.org> | 2010-08-08 19:43:26 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2010-08-08 19:43:26 +0300 |
commit | cd21226da41a652bbf21557307bf7e4904fa1524 (patch) | |
tree | fe8adf50249fb13db706c1373b5bce9b5c575404 /src/editfns.c | |
parent | efb41e219b4d568cef324590594e8c6f49ad6e4f (diff) | |
download | emacs-cd21226da41a652bbf21557307bf7e4904fa1524.tar.gz |
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.
Diffstat (limited to 'src/editfns.c')
-rw-r--r-- | src/editfns.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/editfns.c b/src/editfns.c index c3ffd203124..0e034cc76fd 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -805,6 +805,9 @@ DEFUN ("line-beginning-position", 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 @@ DEFUN ("line-end-position", Fline_end_position, Sline_end_position, 0, 1, 0, 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 |