comparison src/console.c @ 4985:358aa3bb603f

Automatic merge
author Ben Wing <ben@xemacs.org>
date Fri, 05 Feb 2010 12:12:28 -0600
parents 4aebb0131297
children ae48681c47fa
comparison
equal deleted inserted replaced
4984:f23cd0184dcf 4985:358aa3bb603f
1005 if (STRINGP (stuffstring)) 1005 if (STRINGP (stuffstring))
1006 { 1006 {
1007 Bytecount count; 1007 Bytecount count;
1008 Extbyte *p; 1008 Extbyte *p;
1009 1009
1010 TO_EXTERNAL_FORMAT (LISP_STRING, stuffstring, 1010 LISP_STRING_TO_SIZED_EXTERNAL (stuffstring, p, count, Qkeyboard);
1011 ALLOCA, (p, count),
1012 Qkeyboard);
1013 while (count-- > 0) 1011 while (count-- > 0)
1014 stuff_char (XCONSOLE (Vcontrolling_terminal), *p++); 1012 stuff_char (XCONSOLE (Vcontrolling_terminal), *p++);
1015 stuff_char (XCONSOLE (Vcontrolling_terminal), '\n'); 1013 stuff_char (XCONSOLE (Vcontrolling_terminal), '\n');
1016 } 1014 }
1017 /* Anything we have read ahead, put back for the shell to read. */ 1015 /* Anything we have read ahead, put back for the shell to read. */