diff options
| author | Chong Yidong | 2006-06-28 00:00:57 +0000 |
|---|---|---|
| committer | Chong Yidong | 2006-06-28 00:00:57 +0000 |
| commit | df8ffa055d3e9487df52405f749a1c721426ae52 (patch) | |
| tree | 6c84a3fe2a938da08e174bfcc141202992f8c0aa /src | |
| parent | 7fa6147188096c6569f8c31c644199c0ef1f0ec5 (diff) | |
| download | emacs-df8ffa055d3e9487df52405f749a1c721426ae52.tar.gz emacs-df8ffa055d3e9487df52405f749a1c721426ae52.zip | |
* editfns.c (Fdelete_field, Ffield_string, Ffield_beginning)
(Ffield_string_no_properties, Ffield_end): Mention
args-out-of-range error condition in docstring.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/editfns.c | 25 |
2 files changed, 26 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index db45905d4f2..06c9b970833 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2006-06-27 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * editfns.c (Fdelete_field, Ffield_string, Ffield_beginning) | ||
| 4 | (Ffield_string_no_properties, Ffield_end): Mention | ||
| 5 | args-out-of-range error condition in docstring. | ||
| 6 | |||
| 1 | 2006-06-27 Kim F. Storm <storm@cua.dk> | 7 | 2006-06-27 Kim F. Storm <storm@cua.dk> |
| 2 | 8 | ||
| 3 | * xdisp.c (handle_composition_prop): Set stop_charpos before push_it. | 9 | * xdisp.c (handle_composition_prop): Set stop_charpos before push_it. |
diff --git a/src/editfns.c b/src/editfns.c index 85ce94c8f8a..cbaf1bb18ac 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -628,7 +628,10 @@ find_field (pos, merge_at_boundary, beg_limit, beg, end_limit, end) | |||
| 628 | DEFUN ("delete-field", Fdelete_field, Sdelete_field, 0, 1, 0, | 628 | DEFUN ("delete-field", Fdelete_field, Sdelete_field, 0, 1, 0, |
| 629 | doc: /* Delete the field surrounding POS. | 629 | doc: /* Delete the field surrounding POS. |
| 630 | A field is a region of text with the same `field' property. | 630 | A field is a region of text with the same `field' property. |
| 631 | If POS is nil, the value of point is used for POS. */) | 631 | If POS is nil, the value of point is used for POS. |
| 632 | |||
| 633 | An `args-out-of-range' error is signaled if POS is outside the | ||
| 634 | buffer's accessible portion. */) | ||
| 632 | (pos) | 635 | (pos) |
| 633 | Lisp_Object pos; | 636 | Lisp_Object pos; |
| 634 | { | 637 | { |
| @@ -642,7 +645,10 @@ If POS is nil, the value of point is used for POS. */) | |||
| 642 | DEFUN ("field-string", Ffield_string, Sfield_string, 0, 1, 0, | 645 | DEFUN ("field-string", Ffield_string, Sfield_string, 0, 1, 0, |
| 643 | doc: /* Return the contents of the field surrounding POS as a string. | 646 | doc: /* Return the contents of the field surrounding POS as a string. |
| 644 | A field is a region of text with the same `field' property. | 647 | A field is a region of text with the same `field' property. |
| 645 | If POS is nil, the value of point is used for POS. */) | 648 | If POS is nil, the value of point is used for POS. |
| 649 | |||
| 650 | An `args-out-of-range' error is signaled if POS is outside the | ||
| 651 | buffer's accessible portion. */) | ||
| 646 | (pos) | 652 | (pos) |
| 647 | Lisp_Object pos; | 653 | Lisp_Object pos; |
| 648 | { | 654 | { |
| @@ -654,7 +660,10 @@ If POS is nil, the value of point is used for POS. */) | |||
| 654 | DEFUN ("field-string-no-properties", Ffield_string_no_properties, Sfield_string_no_properties, 0, 1, 0, | 660 | DEFUN ("field-string-no-properties", Ffield_string_no_properties, Sfield_string_no_properties, 0, 1, 0, |
| 655 | doc: /* Return the contents of the field around POS, without text-properties. | 661 | doc: /* Return the contents of the field around POS, without text-properties. |
| 656 | A field is a region of text with the same `field' property. | 662 | A field is a region of text with the same `field' property. |
| 657 | If POS is nil, the value of point is used for POS. */) | 663 | If POS is nil, the value of point is used for POS. |
| 664 | |||
| 665 | An `args-out-of-range' error is signaled if POS is outside the | ||
| 666 | buffer's accessible portion. */) | ||
| 658 | (pos) | 667 | (pos) |
| 659 | Lisp_Object pos; | 668 | Lisp_Object pos; |
| 660 | { | 669 | { |
| @@ -670,7 +679,10 @@ If POS is nil, the value of point is used for POS. | |||
| 670 | If ESCAPE-FROM-EDGE is non-nil and POS is at the beginning of its | 679 | If ESCAPE-FROM-EDGE is non-nil and POS is at the beginning of its |
| 671 | field, then the beginning of the *previous* field is returned. | 680 | field, then the beginning of the *previous* field is returned. |
| 672 | If LIMIT is non-nil, it is a buffer position; if the beginning of the field | 681 | If LIMIT is non-nil, it is a buffer position; if the beginning of the field |
| 673 | is before LIMIT, then LIMIT will be returned instead. */) | 682 | is before LIMIT, then LIMIT will be returned instead. |
| 683 | |||
| 684 | An `args-out-of-range' error is signaled if POS is outside the | ||
| 685 | buffer's accessible portion. */) | ||
| 674 | (pos, escape_from_edge, limit) | 686 | (pos, escape_from_edge, limit) |
| 675 | Lisp_Object pos, escape_from_edge, limit; | 687 | Lisp_Object pos, escape_from_edge, limit; |
| 676 | { | 688 | { |
| @@ -686,7 +698,10 @@ If POS is nil, the value of point is used for POS. | |||
| 686 | If ESCAPE-FROM-EDGE is non-nil and POS is at the end of its field, | 698 | If ESCAPE-FROM-EDGE is non-nil and POS is at the end of its field, |
| 687 | then the end of the *following* field is returned. | 699 | then the end of the *following* field is returned. |
| 688 | If LIMIT is non-nil, it is a buffer position; if the end of the field | 700 | If LIMIT is non-nil, it is a buffer position; if the end of the field |
| 689 | is after LIMIT, then LIMIT will be returned instead. */) | 701 | is after LIMIT, then LIMIT will be returned instead. |
| 702 | |||
| 703 | An `args-out-of-range' error is signaled if POS is outside the | ||
| 704 | buffer's accessible portion. */) | ||
| 690 | (pos, escape_from_edge, limit) | 705 | (pos, escape_from_edge, limit) |
| 691 | Lisp_Object pos, escape_from_edge, limit; | 706 | Lisp_Object pos, escape_from_edge, limit; |
| 692 | { | 707 | { |