]> git.eshelyaron.com Git - emacs.git/commitdiff
(Changing Properties): Say string indices are origin-0.
authorRichard M. Stallman <rms@gnu.org>
Mon, 13 Jan 2003 08:01:09 +0000 (08:01 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 13 Jan 2003 08:01:09 +0000 (08:01 +0000)
lispref/text.texi

index 5bfc0a2f46d08f19f936fbb983b39b105ee1053c..2544e4d2ce922224534c1e3b76fcb9eb0e1af380 100644 (file)
@@ -2361,9 +2361,11 @@ range; more often, it is useful to add, change, or delete just certain
 properties specified by name.
 
   Since text properties are considered part of the contents of the
-buffer (or string), and can affect how a buffer looks on the screen, any
-change in buffer text properties marks the buffer as modified.  Buffer
-text property changes are undoable also (@pxref{Undo}).
+buffer (or string), and can affect how a buffer looks on the screen,
+any change in buffer text properties marks the buffer as modified.
+Buffer text property changes are undoable also (@pxref{Undo}).
+Positions in a string start from 0, whereas positions in a buffer
+start from 1.
 
 @defun put-text-property start end prop value &optional object
 This function sets the @var{prop} property to @var{value} for the text