diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-10-19 09:29:16 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-10-19 09:29:16 +0000 |
commit | e5f3aa904cc5947ce14d01c04636723789dda013 (patch) | |
tree | 72974945d3d60e8eb7c5d8abf88be7770d5f6d95 /lispref | |
parent | 331b8458159e7d1f015aa637a8b735e15fb86027 (diff) | |
download | emacs-e5f3aa904cc5947ce14d01c04636723789dda013.tar.gz |
(Text Lines): Describe behavior of
`beginning-of-line'/`end-of-line' in the presence of field properties.
Diffstat (limited to 'lispref')
-rw-r--r-- | lispref/positions.texi | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lispref/positions.texi b/lispref/positions.texi index 67e33cb2cbe..fe056f7d624 100644 --- a/lispref/positions.texi +++ b/lispref/positions.texi @@ -1,6 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Emacs Lisp Reference Manual. -@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000 +@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000, 2001 @c Free Software Foundation, Inc. @c See the file elisp.texi for copying conditions. @setfilename ../info/positions @@ -327,6 +327,15 @@ This function moves point to the beginning of the current line. With an argument @var{count} not @code{nil} or 1, it moves forward @var{count}@minus{}1 lines and then to the beginning of the line. +This command does not move point across a field boundary +(@pxref{Fields}) unless doing so would move beyond there to a +different line; if @var{count} is @code{nil} or 1, and point starts at +a field boundary, point does not move. To ignore field boundaries, +either bind @code{inhibit-field-text-motion} to @code{t}, or use the +@code{forward-line} function instead. For instance, +@code{(forward-line 0)} does the same thing as +@code{(beginning-of-line)}, except that it ignores field boundaries. + If this function reaches the end of the buffer (or of the accessible portion, if narrowing is in effect), it positions point there. No error is signaled. @@ -343,6 +352,12 @@ This function moves point to the end of the current line. With an argument @var{count} not @code{nil} or 1, it moves forward @var{count}@minus{}1 lines and then to the end of the line. +This command does not move point across a field boundary +(@pxref{Fields}) unless doing so would move beyond there to a +different line; if @var{count} is @code{nil} or 1, and point starts at +a field boundary, point does not move. To ignore field boundaries, +bind @code{inhibit-field-text-motion} to @code{t}. + If this function reaches the end of the buffer (or of the accessible portion, if narrowing is in effect), it positions point there. No error is signaled. |