From c16a8fc180ad766fe7dd97af0bab99e3e4552690 Mon Sep 17 00:00:00 2001 From: Pip Cet Date: Sat, 6 Jul 2019 15:21:04 +0000 Subject: 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. --- doc/lispref/text.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.1