]> code.delx.au - gnu-emacs/commitdiff
(Fprevious_single_char_property_change)
authorMiles Bader <miles@gnu.org>
Mon, 27 Aug 2001 18:12:46 +0000 (18:12 +0000)
committerMiles Bader <miles@gnu.org>
Mon, 27 Aug 2001 18:12:46 +0000 (18:12 +0000)
(Fnext_single_char_property_change): Doc fixes.

src/textprop.c

index 87a3c09cc11f67c17bfbcf955caa4290a655b900..cf5ac5314e2742c9f28bb6b63d7988acde8726d9 100644 (file)
@@ -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)