diff options
| author | Karl Heuer | 1994-09-27 01:07:23 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-09-27 01:07:23 +0000 |
| commit | c426bed2aa26057af91ccda8a3f066bc43a587ad (patch) | |
| tree | 4d4e6d961954bd0cf0957d2f4d76afffa213b424 /src/vmsproc.c | |
| parent | 017b2badf8c9aff8fcc52ae560324167c3d027c3 (diff) | |
| download | emacs-c426bed2aa26057af91ccda8a3f066bc43a587ad.tar.gz emacs-c426bed2aa26057af91ccda8a3f066bc43a587ad.zip | |
(child_setup, Fcall_process): Use type test macros.
Diffstat (limited to 'src/vmsproc.c')
| -rw-r--r-- | src/vmsproc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vmsproc.c b/src/vmsproc.c index e3512ddb3ce..5e347bbaa10 100644 --- a/src/vmsproc.c +++ b/src/vmsproc.c | |||
| @@ -402,7 +402,7 @@ child_setup (in, out, err, new_argv, env) | |||
| 402 | close_process_descs (); | 402 | close_process_descs (); |
| 403 | #endif | 403 | #endif |
| 404 | 404 | ||
| 405 | if (XTYPE (current_buffer->directory) == Lisp_String) | 405 | if (STRINGP (current_buffer->directory)) |
| 406 | chdir (XSTRING (current_buffer->directory)->data); | 406 | chdir (XSTRING (current_buffer->directory)->data); |
| 407 | } | 407 | } |
| 408 | 408 | ||
| @@ -506,7 +506,7 @@ if you quit, the process is killed.") | |||
| 506 | status = get_pty_channel (inDevName, outDevName, &inchannel, &outchannel); | 506 | status = get_pty_channel (inDevName, outDevName, &inchannel, &outchannel); |
| 507 | if (!(status & 1)) | 507 | if (!(status & 1)) |
| 508 | error ("Error getting PTY channel: %x", status); | 508 | error ("Error getting PTY channel: %x", status); |
| 509 | if (XTYPE (buffer) == Lisp_Int) | 509 | if (INTEGERP (buffer)) |
| 510 | { | 510 | { |
| 511 | dout.l = strlen ("NLA0:"); | 511 | dout.l = strlen ("NLA0:"); |
| 512 | dout.a = "NLA0:"; | 512 | dout.a = "NLA0:"; |
| @@ -545,7 +545,7 @@ if you quit, the process is killed.") | |||
| 545 | /* | 545 | /* |
| 546 | Start a read on the process channel | 546 | Start a read on the process channel |
| 547 | */ | 547 | */ |
| 548 | if (XTYPE (buffer) != Lisp_Int) | 548 | if (!INTEGERP (buffer)) |
| 549 | { | 549 | { |
| 550 | start_vms_process_read (vs); | 550 | start_vms_process_read (vs); |
| 551 | SpawnFlags = CLI$M_NOWAIT; | 551 | SpawnFlags = CLI$M_NOWAIT; |
| @@ -574,7 +574,7 @@ if you quit, the process is killed.") | |||
| 574 | } | 574 | } |
| 575 | pid = vs->pid; | 575 | pid = vs->pid; |
| 576 | 576 | ||
| 577 | if (XTYPE (buffer) == Lisp_Int) | 577 | if (INTEGERP (buffer)) |
| 578 | { | 578 | { |
| 579 | #ifndef subprocesses | 579 | #ifndef subprocesses |
| 580 | wait_without_blocking (); | 580 | wait_without_blocking (); |
| @@ -589,7 +589,7 @@ if you quit, the process is killed.") | |||
| 589 | Fcons (make_number (fd[0]), make_number (pid))); | 589 | Fcons (make_number (fd[0]), make_number (pid))); |
| 590 | 590 | ||
| 591 | 591 | ||
| 592 | if (XTYPE (buffer) == Lisp_Buffer) | 592 | if (BUFFERP (buffer)) |
| 593 | Fset_buffer (buffer); | 593 | Fset_buffer (buffer); |
| 594 | 594 | ||
| 595 | immediate_quit = 1; | 595 | immediate_quit = 1; |