changeset 49184:55666b1c590b

(Changing Properties): Say string indices are origin-0.
author Richard M. Stallman <rms@gnu.org>
date Mon, 13 Jan 2003 08:01:09 +0000
parents b9d62d4d6921
children d2cbeb3c7b3d
files lispref/text.texi
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/text.texi	Mon Jan 13 08:00:28 2003 +0000
+++ b/lispref/text.texi	Mon Jan 13 08:01:09 2003 +0000
@@ -2361,9 +2361,11 @@
 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