aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 2740779f513..72b9c1dc370 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -822,6 +822,7 @@ call_process (ptrdiff_t nargs, Lisp_Object *args, int filefd,
822 ptrdiff_t count1 = SPECPDL_INDEX (); 822 ptrdiff_t count1 = SPECPDL_INDEX ();
823 823
824 XSETBUFFER (curbuf, current_buffer); 824 XSETBUFFER (curbuf, current_buffer);
825 prepare_to_modify_buffer (PT, PT, NULL);
825 /* We cannot allow after-change-functions be run 826 /* We cannot allow after-change-functions be run
826 during decoding, because that might modify the 827 during decoding, because that might modify the
827 buffer, while we rely on process_coding.produced to 828 buffer, while we rely on process_coding.produced to