comparison src/print.c @ 396:6719134a07c2 r21-2-13

Import from CVS: tag r21-2-13
author cvs
date Mon, 13 Aug 2007 11:12:05 +0200
parents 8626e4521993
children 74fd4e045ea6
comparison
equal deleted inserted replaced
395:de2c2a7459d2 396:6719134a07c2
1459 signal_simple_error ("Must be tty or stream device", device); 1459 signal_simple_error ("Must be tty or stream device", device);
1460 con = XCONSOLE (DEVICE_CONSOLE (XDEVICE (device))); 1460 con = XCONSOLE (DEVICE_CONSOLE (XDEVICE (device)));
1461 if (DEVICE_TTY_P (XDEVICE (device))) 1461 if (DEVICE_TTY_P (XDEVICE (device)))
1462 file = 0; 1462 file = 0;
1463 else if (!NILP (stdout_p)) 1463 else if (!NILP (stdout_p))
1464 file = CONSOLE_STREAM_DATA (con)->outfd; 1464 file = CONSOLE_STREAM_DATA (con)->out;
1465 else 1465 else
1466 file = CONSOLE_STREAM_DATA (con)->errfd; 1466 file = CONSOLE_STREAM_DATA (con)->err;
1467 } 1467 }
1468 1468
1469 if (STRINGP (char_or_string)) 1469 if (STRINGP (char_or_string))
1470 write_string_to_stdio_stream (file, con, 1470 write_string_to_stdio_stream (file, con,
1471 XSTRING_DATA (char_or_string), 1471 XSTRING_DATA (char_or_string),