comparison src/editfns.c @ 109793:b60dcdd855f0

Merge from mainline.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Sun, 08 Aug 2010 22:52:25 +0000
parents dbc0119ac80e
children 64732fa6188a
comparison
equal deleted inserted replaced
109649:1f8f03cfcd2b 109793:b60dcdd855f0
803 Fline_beginning_position, Sline_beginning_position, 0, 1, 0, 803 Fline_beginning_position, Sline_beginning_position, 0, 1, 0,
804 doc: /* Return the character position of the first character on the current line. 804 doc: /* Return the character position of the first character on the current line.
805 With argument N not nil or 1, move forward N - 1 lines first. 805 With argument N not nil or 1, move forward N - 1 lines first.
806 If scan reaches end of buffer, return that position. 806 If scan reaches end of buffer, return that position.
807 807
808 The returned position is of the first character in the logical order,
809 i.e. the one that has the smallest character position.
810
808 This function constrains the returned position to the current field 811 This function constrains the returned position to the current field
809 unless that would be on a different line than the original, 812 unless that would be on a different line than the original,
810 unconstrained result. If N is nil or 1, and a front-sticky field 813 unconstrained result. If N is nil or 1, and a front-sticky field
811 starts at point, the scan stops as soon as it starts. To ignore field 814 starts at point, the scan stops as soon as it starts. To ignore field
812 boundaries bind `inhibit-field-text-motion' to t. 815 boundaries bind `inhibit-field-text-motion' to t.
840 843
841 DEFUN ("line-end-position", Fline_end_position, Sline_end_position, 0, 1, 0, 844 DEFUN ("line-end-position", Fline_end_position, Sline_end_position, 0, 1, 0,
842 doc: /* Return the character position of the last character on the current line. 845 doc: /* Return the character position of the last character on the current line.
843 With argument N not nil or 1, move forward N - 1 lines first. 846 With argument N not nil or 1, move forward N - 1 lines first.
844 If scan reaches end of buffer, return that position. 847 If scan reaches end of buffer, return that position.
848
849 The returned position is of the last character in the logical order,
850 i.e. the character whose buffer position is the largest one.
845 851
846 This function constrains the returned position to the current field 852 This function constrains the returned position to the current field
847 unless that would be on a different line than the original, 853 unless that would be on a different line than the original,
848 unconstrained result. If N is nil or 1, and a rear-sticky field ends 854 unconstrained result. If N is nil or 1, and a rear-sticky field ends
849 at point, the scan stops as soon as it starts. To ignore field 855 at point, the scan stops as soon as it starts. To ignore field