From f621045e3e1422d678934d632af8e18857ee5b29 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 27 Aug 2001 18:12:46 +0000 Subject: [PATCH] (Fprevious_single_char_property_change) (Fnext_single_char_property_change): Doc fixes. --- src/textprop.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/textprop.c b/src/textprop.c index 87a3c09cc11..cf5ac5314e2 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -725,8 +725,8 @@ Scans characters forward from POSITION till it finds\n\ a change in the PROP property, then returns the position of the change.\n\ The optional third argument OBJECT is the string or buffer to scan.\n\ The property values are compared with `eq'.\n\ -Return nil if the property is constant all the way to the end of OBJECT.\n\ -If the value is non-nil, it is a position greater than POSITION, never equal.\n\n\ +If the property is constant all the way to the end of OBJECT, return the\n\ +last valid position in OBJECT.\n\ If the optional fourth argument LIMIT is non-nil, don't search\n\ past position LIMIT; return LIMIT if nothing is found before LIMIT.") (position, prop, object, limit) @@ -791,8 +791,8 @@ Scans characters backward from POSITION till it finds\n\ a change in the PROP property, then returns the position of the change.\n\ The optional third argument OBJECT is the string or buffer to scan.\n\ The property values are compared with `eq'.\n\ -Return nil if the property is constant all the way to the start of OBJECT.\n\ -If the value is non-nil, it is a position less than POSITION, never equal.\n\n\ +If the property is constant all the way to the start of OBJECT, return the\n\ +first valid position in OBJECT.\n\ If the optional fourth argument LIMIT is non-nil, don't search\n\ back past position LIMIT; return LIMIT if nothing is found before LIMIT.") (position, prop, object, limit) -- 2.39.5