Mercurial > hg > xemacs-beta
comparison src/process.c @ 2297:13a418960a88
[xemacs-hg @ 2004-09-22 02:05:42 by stephent]
various doc patches <87isa7awrh.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Wed, 22 Sep 2004 02:06:52 +0000 |
parents | a8d8f419b459 |
children | ecf1ebac70d8 |
comparison
equal
deleted
inserted
replaced
2296:a58ea4d0d0cd | 2297:13a418960a88 |
---|---|
1195 return XPROCESS (process)->tty_name; | 1195 return XPROCESS (process)->tty_name; |
1196 } | 1196 } |
1197 | 1197 |
1198 DEFUN ("set-process-buffer", Fset_process_buffer, 2, 2, 0, /* | 1198 DEFUN ("set-process-buffer", Fset_process_buffer, 2, 2, 0, /* |
1199 Set buffer associated with PROCESS to BUFFER (a buffer, or nil). | 1199 Set buffer associated with PROCESS to BUFFER (a buffer, or nil). |
1200 Output from PROCESS is inserted in this buffer unless PROCESS has a filter. | |
1200 */ | 1201 */ |
1201 (process, buffer)) | 1202 (process, buffer)) |
1202 { | 1203 { |
1203 CHECK_PROCESS (process); | 1204 CHECK_PROCESS (process); |
1204 if (!NILP (buffer)) | 1205 if (!NILP (buffer)) |
1207 return buffer; | 1208 return buffer; |
1208 } | 1209 } |
1209 | 1210 |
1210 DEFUN ("process-buffer", Fprocess_buffer, 1, 1, 0, /* | 1211 DEFUN ("process-buffer", Fprocess_buffer, 1, 1, 0, /* |
1211 Return the buffer PROCESS is associated with. | 1212 Return the buffer PROCESS is associated with. |
1212 Output from PROCESS is inserted in this buffer | 1213 Output from PROCESS is inserted in this buffer unless PROCESS has a filter. |
1213 unless PROCESS has a filter. | 1214 Set the buffer with `set-process-buffer'. |
1214 */ | 1215 */ |
1215 (process)) | 1216 (process)) |
1216 { | 1217 { |
1217 CHECK_PROCESS (process); | 1218 CHECK_PROCESS (process); |
1218 return XPROCESS (process)->buffer; | 1219 return XPROCESS (process)->buffer; |
1219 } | 1220 } |
1220 | 1221 |
1221 DEFUN ("set-process-stderr-buffer", Fset_process_stderr_buffer, 2, 2, 0, /* | 1222 DEFUN ("set-process-stderr-buffer", Fset_process_stderr_buffer, 2, 2, 0, /* |
1223 Output from the stderr of PROCESS is inserted in this buffer unless | |
1224 PROCESS has a stderr filter. | |
1222 Set stderr buffer associated with PROCESS to BUFFER (a buffer, or nil). | 1225 Set stderr buffer associated with PROCESS to BUFFER (a buffer, or nil). |
1223 */ | 1226 */ |
1224 (process, buffer)) | 1227 (process, buffer)) |
1225 { | 1228 { |
1226 CHECK_PROCESS (process); | 1229 CHECK_PROCESS (process); |
1232 return buffer; | 1235 return buffer; |
1233 } | 1236 } |
1234 | 1237 |
1235 DEFUN ("process-stderr-buffer", Fprocess_stderr_buffer, 1, 1, 0, /* | 1238 DEFUN ("process-stderr-buffer", Fprocess_stderr_buffer, 1, 1, 0, /* |
1236 Return the stderr buffer PROCESS is associated with. | 1239 Return the stderr buffer PROCESS is associated with. |
1237 Output from the stderr of PROCESS is inserted in this buffer | 1240 Output from the stderr of PROCESS is inserted in this buffer unless PROCESS |
1238 unless PROCESS has a stderr filter. | 1241 has a stderr filter. Set the buffer with `set-process-stderr-buffer'. |
1239 */ | 1242 */ |
1240 (process)) | 1243 (process)) |
1241 { | 1244 { |
1242 CHECK_PROCESS (process); | 1245 CHECK_PROCESS (process); |
1243 if (!XPROCESS (process)->separate_stderr) | 1246 if (!XPROCESS (process)->separate_stderr) |