# HG changeset patch # User Juanma Barranquero # Date 1207756612 0 # Node ID f7d6d03d8cebc6a3aa0093ce3a6cba44f4eaf471 # Parent 22cfb604a455b353b92f837d3b5ebc68907b5d94 (Ffield_string_no_properties): Fix typo in docstring. diff -r 22cfb604a455 -r f7d6d03d8ceb src/editfns.c --- a/src/editfns.c Wed Apr 09 15:38:32 2008 +0000 +++ b/src/editfns.c Wed Apr 09 15:56:52 2008 +0000 @@ -482,7 +482,7 @@ } } - { /* Now check the text-properties. */ + { /* Now check the text properties. */ int stickiness = text_property_stickiness (prop, position, object); if (stickiness > 0) return Fget_text_property (position, prop, object); @@ -658,7 +658,7 @@ } DEFUN ("field-string-no-properties", Ffield_string_no_properties, Sfield_string_no_properties, 0, 1, 0, - doc: /* Return the contents of the field around POS, without text-properties. + doc: /* Return the contents of the field around POS, without text properties. A field is a region of text with the same `field' property. If POS is nil, the value of point is used for POS. */) (pos) @@ -3050,7 +3050,7 @@ if (string_multibyte) { str = tt + string_char_to_byte (table, oc); - nc = STRING_CHAR_AND_LENGTH (str, MAX_MULTIBYTE_LENGTH, + nc = STRING_CHAR_AND_LENGTH (str, MAX_MULTIBYTE_LENGTH, str_len); } else