]> git.eshelyaron.com Git - emacs.git/commit
Make call_process call signal_after_change. This fixes bug #38691.
authorAlan Mackenzie <acm@muc.de>
Wed, 22 Jan 2020 19:50:30 +0000 (19:50 +0000)
committerAlan Mackenzie <acm@muc.de>
Wed, 22 Jan 2020 19:50:30 +0000 (19:50 +0000)
commit224e8d146485ce178086549d41fa8359dcc0e03e
tree215a967ed0052f48141782da45afadea6ef19d9d
parentd02f2a793e8ee974198f88d966c4a87df3fba104
Make call_process call signal_after_change.  This fixes bug #38691.

Now, functions such as call-proess-region invoke after-change-functions
correctly.

* src/callproc.c (call_process): Call prepare_to_modify_buffer in a single
place, no longer delegating the task to insert_1_both, etc.  Call
signal_after_change in each of two code branches, such that
before-change-functions and after-change-functions are always called in
balanced pairs.
src/callproc.c