Mercurial > emacs
comparison src/dispnew.c @ 90789:c0409ee15cee
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 670-674)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 209-210)
- Merge from emacs--devo--0
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-185
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 21 Mar 2007 13:33:07 +0000 |
parents | dd7c098af727 685fa6c9ae44 |
children | e6fdae9180d4 |
comparison
equal
deleted
inserted
replaced
90788:a12805fdabe8 | 90789:c0409ee15cee |
---|---|
6358 doc: /* Start writing all terminal output to FILE as well as the terminal. | 6358 doc: /* Start writing all terminal output to FILE as well as the terminal. |
6359 FILE = nil means just close any termscript file currently open. */) | 6359 FILE = nil means just close any termscript file currently open. */) |
6360 (file) | 6360 (file) |
6361 Lisp_Object file; | 6361 Lisp_Object file; |
6362 { | 6362 { |
6363 if (termscript != 0) fclose (termscript); | 6363 if (termscript != 0) |
6364 { | |
6365 BLOCK_INPUT; | |
6366 fclose (termscript); | |
6367 UNBLOCK_INPUT; | |
6368 } | |
6364 termscript = 0; | 6369 termscript = 0; |
6365 | 6370 |
6366 if (! NILP (file)) | 6371 if (! NILP (file)) |
6367 { | 6372 { |
6368 file = Fexpand_file_name (file, Qnil); | 6373 file = Fexpand_file_name (file, Qnil); |
6381 (string) | 6386 (string) |
6382 Lisp_Object string; | 6387 Lisp_Object string; |
6383 { | 6388 { |
6384 /* ??? Perhaps we should do something special for multibyte strings here. */ | 6389 /* ??? Perhaps we should do something special for multibyte strings here. */ |
6385 CHECK_STRING (string); | 6390 CHECK_STRING (string); |
6391 BLOCK_INPUT; | |
6386 fwrite (SDATA (string), 1, SBYTES (string), stdout); | 6392 fwrite (SDATA (string), 1, SBYTES (string), stdout); |
6387 fflush (stdout); | 6393 fflush (stdout); |
6388 if (termscript) | 6394 if (termscript) |
6389 { | 6395 { |
6390 fwrite (SDATA (string), 1, SBYTES (string), | 6396 fwrite (SDATA (string), 1, SBYTES (string), |
6391 termscript); | 6397 termscript); |
6392 fflush (termscript); | 6398 fflush (termscript); |
6393 } | 6399 } |
6400 UNBLOCK_INPUT; | |
6394 return Qnil; | 6401 return Qnil; |
6395 } | 6402 } |
6396 | 6403 |
6397 | 6404 |
6398 DEFUN ("ding", Fding, Sding, 0, 1, 0, | 6405 DEFUN ("ding", Fding, Sding, 0, 1, 0, |