On Fri, Jun 14, 2019 at 12:11 PM Eli Zaretskii wrote: > > From: Pip Cet > > Date: Fri, 14 Jun 2019 11:14:53 +0000 > > Cc: 36190@debbugs.gnu.org > > > > Okay, I fixed those two issues. > > Thanks. Except that calls set_buffer_internal twice for a single call to put-text-property. That's too slow, right? How about simply emulating (with-current-buffer buffer (put-text-property ...)), as the attached patch does? That should fix the immediate problem. Thanks!