Mercurial > emacs
comparison src/process.c @ 21177:73f8ae8312c8
(exec_sentinel, read_process_output): Fstore_match_data => Fset_match_data.
(Fstart_process): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 14 Mar 1998 08:23:21 +0000 |
parents | 01e626b0a624 |
children | 50929073a0ba |
comparison
equal
deleted
inserted
replaced
21176:c42a2b3bbb21 | 21177:73f8ae8312c8 |
---|---|
1031 BUFFER is the buffer or (buffer-name) to associate with the process.\n\ | 1031 BUFFER is the buffer or (buffer-name) to associate with the process.\n\ |
1032 Process output goes at end of that buffer, unless you specify\n\ | 1032 Process output goes at end of that buffer, unless you specify\n\ |
1033 an output stream or filter function to handle the output.\n\ | 1033 an output stream or filter function to handle the output.\n\ |
1034 BUFFER may be also nil, meaning that this process is not associated\n\ | 1034 BUFFER may be also nil, meaning that this process is not associated\n\ |
1035 with any buffer.\n\ | 1035 with any buffer.\n\ |
1036 Third arg is program file name. It is searched for as in the shell.\n\ | 1036 Third arg is program file name. It is searched for in PATH.\n\ |
1037 Remaining arguments are strings to give program as arguments.") | 1037 Remaining arguments are strings to give program as arguments.") |
1038 (nargs, args) | 1038 (nargs, args) |
1039 int nargs; | 1039 int nargs; |
1040 register Lisp_Object *args; | 1040 register Lisp_Object *args; |
1041 { | 1041 { |
2890 { | 2890 { |
2891 Lisp_Object tem; | 2891 Lisp_Object tem; |
2892 /* Don't clobber the CURRENT match data, either! */ | 2892 /* Don't clobber the CURRENT match data, either! */ |
2893 tem = Fmatch_data (Qnil, Qnil); | 2893 tem = Fmatch_data (Qnil, Qnil); |
2894 restore_match_data (); | 2894 restore_match_data (); |
2895 record_unwind_protect (Fstore_match_data, Fmatch_data (Qnil, Qnil)); | 2895 record_unwind_protect (Fset_match_data, Fmatch_data (Qnil, Qnil)); |
2896 Fstore_match_data (tem); | 2896 Fset_match_data (tem); |
2897 } | 2897 } |
2898 | 2898 |
2899 /* For speed, if a search happens within this code, | 2899 /* For speed, if a search happens within this code, |
2900 save the match data in a special nonrecursive fashion. */ | 2900 save the match data in a special nonrecursive fashion. */ |
2901 running_asynch_code = 1; | 2901 running_asynch_code = 1; |
4026 if (outer_running_asynch_code) | 4026 if (outer_running_asynch_code) |
4027 { | 4027 { |
4028 Lisp_Object tem; | 4028 Lisp_Object tem; |
4029 tem = Fmatch_data (Qnil, Qnil); | 4029 tem = Fmatch_data (Qnil, Qnil); |
4030 restore_match_data (); | 4030 restore_match_data (); |
4031 record_unwind_protect (Fstore_match_data, Fmatch_data (Qnil, Qnil)); | 4031 record_unwind_protect (Fset_match_data, Fmatch_data (Qnil, Qnil)); |
4032 Fstore_match_data (tem); | 4032 Fset_match_data (tem); |
4033 } | 4033 } |
4034 | 4034 |
4035 /* For speed, if a search happens within this code, | 4035 /* For speed, if a search happens within this code, |
4036 save the match data in a special nonrecursive fashion. */ | 4036 save the match data in a special nonrecursive fashion. */ |
4037 running_asynch_code = 1; | 4037 running_asynch_code = 1; |