Subject: bug#36190: 27.0.50; `put-text-property' etc. with buffer argument calls current buffer's `after-change-functions'

From: Eli Zaretskii <[email-masked]>
Date: Thu, 13 Jun 2019 19:36:09 +0300

> From: Pip Cet <[email-masked]>
> Date: Thu, 13 Jun 2019 13:48:40 +0000
> 
> I've looked at the code, and it appears no particular provisions are
> being made to make sure we switch to the modified buffer before
> calling signal_after_change().
> 
> As far as I can tell, this makes `put-text-property' with a buffer
> argument pretty useless.

Only if you have a buffer-local value of after-change-functions.