Commit dd130227 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(read_process_output, exec_sentinel):

Call Fmatch_data with new explicit arguments.
parent 03007ccc
......@@ -2530,9 +2530,9 @@ read_process_output (proc, channel)
{
Lisp_Object tem;
/* Don't clobber the CURRENT match data, either! */
tem = Fmatch_data ();
tem = Fmatch_data (Qnil, Qnil);
restore_match_data ();
record_unwind_protect (Fstore_match_data, Fmatch_data ());
record_unwind_protect (Fstore_match_data, Fmatch_data (Qnil, Qnil));
Fstore_match_data (tem);
}
......@@ -3562,9 +3562,9 @@ exec_sentinel (proc, reason)
if (outer_running_asynch_code)
{
Lisp_Object tem;
tem = Fmatch_data ();
tem = Fmatch_data (Qnil, Qnil);
restore_match_data ();
record_unwind_protect (Fstore_match_data, Fmatch_data ());
record_unwind_protect (Fstore_match_data, Fmatch_data (Qnil, Qnil));
Fstore_match_data (tem);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment