bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36190: 27.0.50; `put-text-property' etc. with buffer argument calls


From: Eli Zaretskii
Subject: bug#36190: 27.0.50; `put-text-property' etc. with buffer argument calls current buffer's `after-change-functions'
Date: Thu, 13 Jun 2019 22:27:56 +0300

> Date: Thu, 13 Jun 2019 22:05:48 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 36190@debbugs.gnu.org
> 
> > Here's a first patch, which adds a "buffer" argument to
> > signal_after_change, to be explicit about where the change happens. It
> > should be pretty cheap in the case where we don't switch buffers.
> 
> Not sure I have a clear idea of how you intend to use that additional
> argument.

Found it:

> +  record_unwind_current_buffer ();
> +  set_buffer_internal (buffer);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]