diff options
| author | Miles Bader | 2001-10-19 06:22:46 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-10-19 06:22:46 +0000 |
| commit | 6d57c3189e1a7b0ef6afee7b37a3c3b220af7671 (patch) | |
| tree | f2791f55e99bf6fc4e761e6bcf6b9a93b90eea20 /src | |
| parent | 8abc9869bbfe52bd187c54fcc0e9771e844fe176 (diff) | |
| download | emacs-6d57c3189e1a7b0ef6afee7b37a3c3b220af7671.tar.gz emacs-6d57c3189e1a7b0ef6afee7b37a3c3b220af7671.zip | |
(Fline_beginning_position, Fline_end_position): Clarify documentation.
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/editfns.c b/src/editfns.c index 51d328ab2ec..661ad95d292 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -713,15 +713,16 @@ Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil. */) | |||
| 713 | } | 713 | } |
| 714 | 714 | ||
| 715 | 715 | ||
| 716 | DEFUN ("line-beginning-position", Fline_beginning_position, Sline_beginning_position, | 716 | DEFUN ("line-beginning-position", |
| 717 | 0, 1, 0, | 717 | Fline_beginning_position, Sline_beginning_position, 0, 1, 0, |
| 718 | doc: /* Return the character position of the first character on the current line. | 718 | doc: /* Return the character position of the first character on the current line. |
| 719 | With argument N not nil or 1, move forward N - 1 lines first. | 719 | With argument N not nil or 1, move forward N - 1 lines first. |
| 720 | If scan reaches end of buffer, return that position. | 720 | If scan reaches end of buffer, return that position. |
| 721 | The scan does not cross a field boundary unless it would move | 721 | |
| 722 | beyond there to a different line. Field boundaries are not noticed if | 722 | The scan does not cross a field boundary unless doing so would move |
| 723 | `inhibit-field-text-motion' is non-nil. And if N is nil or 1, | 723 | beyond there to a different line; if N is nil or 1, and scan starts at a |
| 724 | and scan starts at a field boundary, the scan stops as soon as it starts. | 724 | field boundary, the scan stops as soon as it starts. To ignore field |
| 725 | boundaries bind `inhibit-field-text-motion' to t. | ||
| 725 | 726 | ||
| 726 | This function does not move point. */) | 727 | This function does not move point. */) |
| 727 | (n) | 728 | (n) |
| @@ -747,11 +748,16 @@ This function does not move point. */) | |||
| 747 | Qt, Qnil); | 748 | Qt, Qnil); |
| 748 | } | 749 | } |
| 749 | 750 | ||
| 750 | DEFUN ("line-end-position", Fline_end_position, Sline_end_position, | 751 | DEFUN ("line-end-position", Fline_end_position, Sline_end_position, 0, 1, 0, |
| 751 | 0, 1, 0, | ||
| 752 | doc: /* Return the character position of the last character on the current line. | 752 | doc: /* Return the character position of the last character on the current line. |
| 753 | With argument N not nil or 1, move forward N - 1 lines first. | 753 | With argument N not nil or 1, move forward N - 1 lines first. |
| 754 | If scan reaches end of buffer, return that position. | 754 | If scan reaches end of buffer, return that position. |
| 755 | |||
| 756 | The scan does not cross a field boundary unless doing so would move | ||
| 757 | beyond there to a different line; if N is nil or 1, and scan starts at a | ||
| 758 | field boundary, the scan stops as soon as it starts. To ignore field | ||
| 759 | boundaries bind `inhibit-field-text-motion' to t. | ||
| 760 | |||
| 755 | This function does not move point. */) | 761 | This function does not move point. */) |
| 756 | (n) | 762 | (n) |
| 757 | Lisp_Object n; | 763 | Lisp_Object n; |
| @@ -770,6 +776,7 @@ This function does not move point. */) | |||
| 770 | return Fconstrain_to_field (make_number (end_pos), make_number (orig), | 776 | return Fconstrain_to_field (make_number (end_pos), make_number (orig), |
| 771 | Qnil, Qt, Qnil); | 777 | Qnil, Qt, Qnil); |
| 772 | } | 778 | } |
| 779 | |||
| 773 | 780 | ||
| 774 | Lisp_Object | 781 | Lisp_Object |
| 775 | save_excursion_save () | 782 | save_excursion_save () |