From: Juanma Barranquero Date: Wed, 9 Apr 2008 15:57:40 +0000 (+0000) Subject: (Ffield_string_no_properties): Fix typo in docstring. X-Git-Tag: emacs-pretest-23.0.90~6388 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7a6a86adefd0e19bf5f25f263902c3e578004281;p=emacs.git (Ffield_string_no_properties): Fix typo in docstring. --- diff --git a/src/ChangeLog b/src/ChangeLog index 8c6aff22f4e..ddb0155f7f6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-04-09 Juanma Barranquero + + * editfns.c (Ffield_string_no_properties): Fix typo in docstring. + 2008-04-09 Jason Rumney * xdisp.c (redisplay_internal) [!WINDOWSNT]: Conditionalize last change. diff --git a/src/editfns.c b/src/editfns.c index 264097ffe59..e44b3cd8da6 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -482,7 +482,7 @@ get_pos_property (position, prop, object) } } - { /* 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 @@ If POS is nil, the value of point is used for POS. */) } 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 @@ It returns the number of characters changed. */) 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