mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(Changing Properties): Say string indices are origin-0.
This commit is contained in:
parent
fa16624273
commit
9a36dd517d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user