diff options
| author | Kenichi Handa | 2006-06-08 06:48:34 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2006-06-08 06:48:34 +0000 |
| commit | 091a0ff08823041bd0f53be1c6124ad108fab9cb (patch) | |
| tree | 17baa824c04b6d8088e80d152952183f215a5282 /src/coding.c | |
| parent | c198294fdd8970e5a87fd278d949e41832a0012c (diff) | |
| download | emacs-091a0ff08823041bd0f53be1c6124ad108fab9cb.tar.gz emacs-091a0ff08823041bd0f53be1c6124ad108fab9cb.zip | |
(Ffind_operation_coding_system): Sync with HEAD.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c index 9f95c2c6777..023dc95c35e 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -8353,8 +8353,12 @@ usage: (find-operation-coding-system OPERATION ARGUMENTS ...) */) | |||
| 8353 | SDATA (SYMBOL_NAME (operation))); | 8353 | SDATA (SYMBOL_NAME (operation))); |
| 8354 | target = args[XINT (target_idx) + 1]; | 8354 | target = args[XINT (target_idx) + 1]; |
| 8355 | if (!(STRINGP (target) | 8355 | if (!(STRINGP (target) |
| 8356 | || (EQ (operation, Qinsert_file_contents) && CONSP (target) | ||
| 8357 | && STRINGP (XCAR (target)) && BUFFERP (XCDR (target))) | ||
| 8356 | || (EQ (operation, Qopen_network_stream) && INTEGERP (target)))) | 8358 | || (EQ (operation, Qopen_network_stream) && INTEGERP (target)))) |
| 8357 | error ("Invalid %dth argument", XINT (target_idx) + 1); | 8359 | error ("Invalid %dth argument", XINT (target_idx) + 1); |
| 8360 | if (CONSP (target)) | ||
| 8361 | target = XCAR (target); | ||
| 8358 | 8362 | ||
| 8359 | chain = ((EQ (operation, Qinsert_file_contents) | 8363 | chain = ((EQ (operation, Qinsert_file_contents) |
| 8360 | || EQ (operation, Qwrite_region)) | 8364 | || EQ (operation, Qwrite_region)) |