diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2008-04-09 15:57:40 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2008-04-09 15:57:40 +0000 |
commit | 7a6a86adefd0e19bf5f25f263902c3e578004281 (patch) | |
tree | 50560a7598a3d2d2e43efc20fbe7c617c7d90d93 | |
parent | dbf3ef782ec4ba45580696dde90692935d91cbca (diff) | |
download | emacs-7a6a86adefd0e19bf5f25f263902c3e578004281.tar.gz |
(Ffield_string_no_properties): Fix typo in docstring.
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/editfns.c | 6 |
2 files changed, 7 insertions, 3 deletions
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 <lekktu@gmail.com> + + * editfns.c (Ffield_string_no_properties): Fix typo in docstring. + 2008-04-09 Jason Rumney <jasonr@gnu.org> * 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 |