mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-03 11:33:37 +00:00
(Fcall_process_region): Unbind coding-system-for-write
after calling Fwrite_region.
This commit is contained in:
parent
19dc6e3f9d
commit
168afdaa0e
@ -840,8 +840,14 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
|
||||
val = Qnil;
|
||||
}
|
||||
|
||||
specbind (intern ("coding-system-for-write"), val);
|
||||
Fwrite_region (start, end, filename_string, Qnil, Qlambda, Qnil, Qnil);
|
||||
{
|
||||
int count1 = specpdl_ptr - specpdl;
|
||||
|
||||
specbind (intern ("coding-system-for-write"), val);
|
||||
Fwrite_region (start, end, filename_string, Qnil, Qlambda, Qnil, Qnil);
|
||||
|
||||
unbind_to (count1, Qnil);
|
||||
}
|
||||
|
||||
/* Note that Fcall_process takes care of binding
|
||||
coding-system-for-read. */
|
||||
|
Loading…
Reference in New Issue
Block a user