Mercurial > emacs
comparison src/callproc.c @ 20789:140b6fdd53d0
(Fcall_process): Test only args past args[4] for multibyteness.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 27 Jan 1998 20:06:51 +0000 |
parents | e34b99d443b1 |
children | 146647357199 |
comparison
equal
deleted
inserted
replaced
20788:2bf465c6cc6b | 20789:140b6fdd53d0 |
---|---|
248 /* If arguments are supplied, we may have to encode them. */ | 248 /* If arguments are supplied, we may have to encode them. */ |
249 if (nargs >= 5) | 249 if (nargs >= 5) |
250 { | 250 { |
251 int must_encode = 0; | 251 int must_encode = 0; |
252 | 252 |
253 for (i = 0; i < nargs; i++) | 253 for (i = 4; i < nargs; i++) |
254 if (STRING_MULTIBYTE (args[i])) | 254 if (STRING_MULTIBYTE (args[i])) |
255 must_encode = 1; | 255 must_encode = 1; |
256 | 256 |
257 if (!NILP (Vcoding_system_for_write)) | 257 if (!NILP (Vcoding_system_for_write)) |
258 val = Vcoding_system_for_write; | 258 val = Vcoding_system_for_write; |