diff options
| author | Jim Blandy | 1992-05-18 08:14:41 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-05-18 08:14:41 +0000 |
| commit | ffd56f97cf56501f7a6981c184192e9043e4eafd (patch) | |
| tree | d463f4585c85fa76b33d3663271bbb4126d7b116 /src/callproc.c | |
| parent | 502ddf238f0ed280a301426804b2ed16ec1c49cc (diff) | |
| download | emacs-ffd56f97cf56501f7a6981c184192e9043e4eafd.tar.gz emacs-ffd56f97cf56501f7a6981c184192e9043e4eafd.zip | |
*** empty log message ***
Diffstat (limited to 'src/callproc.c')
| -rw-r--r-- | src/callproc.c | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/src/callproc.c b/src/callproc.c index 9544ecf0a21..85fbcf7c784 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -125,25 +125,29 @@ If you quit, the process is killed with SIGKILL.") | |||
| 125 | CHECK_STRING (infile, 1); | 125 | CHECK_STRING (infile, 1); |
| 126 | } | 126 | } |
| 127 | else | 127 | else |
| 128 | #ifdef VMS | ||
| 129 | infile = build_string ("NLA0:"); | ||
| 130 | #else | ||
| 128 | infile = build_string ("/dev/null"); | 131 | infile = build_string ("/dev/null"); |
| 132 | #endif /* not VMS */ | ||
| 129 | 133 | ||
| 130 | { | 134 | if (nargs >= 3) |
| 131 | register Lisp_Object tem; | 135 | { |
| 132 | if (nargs < 3) | 136 | register Lisp_Object tem; |
| 133 | buffer = Qnil; | 137 | |
| 134 | else | 138 | buffer = tem = args[2]; |
| 135 | { | 139 | if (!(EQ (tem, Qnil) |
| 136 | buffer = tem = args[2]; | 140 | || EQ (tem, Qt) |
| 137 | if (!(EQ (tem, Qnil) || EQ (tem, Qt) | 141 | || XFASTINT (tem) == 0)) |
| 138 | || XFASTINT (tem) == 0)) | 142 | { |
| 139 | { | 143 | buffer = Fget_buffer (tem); |
| 140 | buffer = Fget_buffer (tem); | 144 | CHECK_BUFFER (buffer, 2); |
| 141 | CHECK_BUFFER (buffer, 2); | 145 | } |
| 142 | } | 146 | } |
| 143 | } | 147 | else |
| 144 | } | 148 | buffer = Qnil; |
| 145 | 149 | ||
| 146 | display = nargs >= 3 ? args[3] : Qnil; | 150 | display = nargs >= 4 ? args[3] : Qnil; |
| 147 | 151 | ||
| 148 | { | 152 | { |
| 149 | register int i; | 153 | register int i; |