diff options
| author | Pavel Janík | 2001-11-02 20:46:55 +0000 |
|---|---|---|
| committer | Pavel Janík | 2001-11-02 20:46:55 +0000 |
| commit | b78265036088d5d0eac2a03b929adb50aa59b45c (patch) | |
| tree | de99fe733144deb926fd31ee7bdff95cb1bc5073 /src/callproc.c | |
| parent | 00a2cef7d11a1b193891eb3d28274ef7fc7c3fe4 (diff) | |
| download | emacs-b78265036088d5d0eac2a03b929adb50aa59b45c.tar.gz emacs-b78265036088d5d0eac2a03b929adb50aa59b45c.zip | |
Update usage of CHECK_ macros (remove unused second argument).
Diffstat (limited to 'src/callproc.c')
| -rw-r--r-- | src/callproc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/callproc.c b/src/callproc.c index 6798caba8b0..21cfc11dd66 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -247,7 +247,7 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) | |||
| 247 | /* Qt denotes that Ffind_operation_coding_system is not yet called. */ | 247 | /* Qt denotes that Ffind_operation_coding_system is not yet called. */ |
| 248 | coding_systems = Qt; | 248 | coding_systems = Qt; |
| 249 | 249 | ||
| 250 | CHECK_STRING (args[0], 0); | 250 | CHECK_STRING (args[0]); |
| 251 | 251 | ||
| 252 | error_file = Qt; | 252 | error_file = Qt; |
| 253 | 253 | ||
| @@ -269,7 +269,7 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) | |||
| 269 | int must_encode = 0; | 269 | int must_encode = 0; |
| 270 | 270 | ||
| 271 | for (i = 4; i < nargs; i++) | 271 | for (i = 4; i < nargs; i++) |
| 272 | CHECK_STRING (args[i], i); | 272 | CHECK_STRING (args[i]); |
| 273 | 273 | ||
| 274 | for (i = 4; i < nargs; i++) | 274 | for (i = 4; i < nargs; i++) |
| 275 | if (STRING_MULTIBYTE (args[i])) | 275 | if (STRING_MULTIBYTE (args[i])) |
| @@ -299,7 +299,7 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) | |||
| 299 | if (nargs >= 2 && ! NILP (args[1])) | 299 | if (nargs >= 2 && ! NILP (args[1])) |
| 300 | { | 300 | { |
| 301 | infile = Fexpand_file_name (args[1], current_buffer->directory); | 301 | infile = Fexpand_file_name (args[1], current_buffer->directory); |
| 302 | CHECK_STRING (infile, 1); | 302 | CHECK_STRING (infile); |
| 303 | } | 303 | } |
| 304 | else | 304 | else |
| 305 | infile = build_string (NULL_DEVICE); | 305 | infile = build_string (NULL_DEVICE); |
| @@ -335,8 +335,8 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) | |||
| 335 | buffer = Fget_buffer_create (buffer); | 335 | buffer = Fget_buffer_create (buffer); |
| 336 | /* Mention the buffer name for a better error message. */ | 336 | /* Mention the buffer name for a better error message. */ |
| 337 | if (NILP (buffer)) | 337 | if (NILP (buffer)) |
| 338 | CHECK_BUFFER (spec_buffer, 2); | 338 | CHECK_BUFFER (spec_buffer); |
| 339 | CHECK_BUFFER (buffer, 2); | 339 | CHECK_BUFFER (buffer); |
| 340 | } | 340 | } |
| 341 | } | 341 | } |
| 342 | else | 342 | else |
| @@ -1419,7 +1419,7 @@ This function consults the variable ``process-environment'' for its value. */) | |||
| 1419 | char *value; | 1419 | char *value; |
| 1420 | int valuelen; | 1420 | int valuelen; |
| 1421 | 1421 | ||
| 1422 | CHECK_STRING (var, 0); | 1422 | CHECK_STRING (var); |
| 1423 | if (getenv_internal (XSTRING (var)->data, STRING_BYTES (XSTRING (var)), | 1423 | if (getenv_internal (XSTRING (var)->data, STRING_BYTES (XSTRING (var)), |
| 1424 | &value, &valuelen)) | 1424 | &value, &valuelen)) |
| 1425 | return make_string (value, valuelen); | 1425 | return make_string (value, valuelen); |