summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPip Cet <pipcet@gmail.com>2019-07-06 15:21:04 +0000
committerEli Zaretskii <eliz@gnu.org>2019-07-06 19:20:53 +0300
commitc16a8fc180ad766fe7dd97af0bab99e3e4552690 (patch)
tree34692c2b9abded04d811711e8bb8690aac496c11 /doc
parent27e727fb6ceca83a79a37b76741179c1406cc768 (diff)
downloademacs-c16a8fc180ad766fe7dd97af0bab99e3e4552690.tar.gz
Update current buffer when changing text properties
* src/textprop.c (add_text_properties_1, set_text_properties) (set_text_properties_1, Fremove_text_properties): Switch buffer if necessary. (Bug#36190) * doc/lispref/text.texi (Examining Properties): Document performance FIXME.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/text.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index c4fc5247a11..ca0dd6642d9 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -2800,7 +2800,7 @@ functions to examine the properties of a number of characters at once.
These functions handle both strings and buffers. Keep in mind that
positions in a string start from 0, whereas positions in a buffer start
-from 1.
+from 1. Passing a buffer other than the current buffer may be slow.
@defun get-text-property pos prop &optional object
This function returns the value of the @var{prop} property of the