]> code.delx.au - gnu-emacs/blobdiff - src/coding.c
* lisp/info.el (Info-default-directory-list): Don't check /share,info.
[gnu-emacs] / src / coding.c
index 17cb77e28dfd994f55ca05def0ddbf30c1dd83dd..7d199567fd01669a438a2472fd6605c11d090233 100644 (file)
@@ -9843,7 +9843,8 @@ usage: (find-operation-coding-system OPERATION ARGUMENTS...)  */)
   if (!(STRINGP (target)
        || (EQ (operation, Qinsert_file_contents) && CONSP (target)
            && STRINGP (XCAR (target)) && BUFFERP (XCDR (target)))
-       || (EQ (operation, Qopen_network_stream) && INTEGERP (target))))
+       || (EQ (operation, Qopen_network_stream)
+           && (INTEGERP (target) || EQ (target, Qt)))))
     error ("Invalid argument %"pI"d of operation `%s'",
           XFASTINT (target_idx) + 1, SDATA (SYMBOL_NAME (operation)));
   if (CONSP (target))