Mercurial > emacs
diff src/coding.c @ 90432:0608690171d1
(Ffind_operation_coding_system): Sync with HEAD.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Thu, 08 Jun 2006 06:48:34 +0000 |
| parents | a8190f7e546e |
| children | 8a8e69664178 |
line wrap: on
line diff
--- a/src/coding.c Thu Jun 08 06:48:23 2006 +0000 +++ b/src/coding.c Thu Jun 08 06:48:34 2006 +0000 @@ -8353,8 +8353,12 @@ SDATA (SYMBOL_NAME (operation))); target = args[XINT (target_idx) + 1]; if (!(STRINGP (target) + || (EQ (operation, Qinsert_file_contents) && CONSP (target) + && STRINGP (XCAR (target)) && BUFFERP (XCDR (target))) || (EQ (operation, Qopen_network_stream) && INTEGERP (target)))) error ("Invalid %dth argument", XINT (target_idx) + 1); + if (CONSP (target)) + target = XCAR (target); chain = ((EQ (operation, Qinsert_file_contents) || EQ (operation, Qwrite_region))
