Mercurial > emacs
comparison src/print.c @ 40656:cdfd4d09b79a
Update usage of CHECK_ macros (remove unused second argument).
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Fri, 02 Nov 2001 20:46:55 +0000 |
parents | 25269c1f7a10 |
children | 8144c97ba576 |
comparison
equal
deleted
inserted
replaced
40655:45453187feeb | 40656:cdfd4d09b79a |
---|---|
530 { | 530 { |
531 PRINTDECLARE; | 531 PRINTDECLARE; |
532 | 532 |
533 if (NILP (printcharfun)) | 533 if (NILP (printcharfun)) |
534 printcharfun = Vstandard_output; | 534 printcharfun = Vstandard_output; |
535 CHECK_NUMBER (character, 0); | 535 CHECK_NUMBER (character); |
536 PRINTPREPARE; | 536 PRINTPREPARE; |
537 PRINTCHAR (XINT (character)); | 537 PRINTCHAR (XINT (character)); |
538 PRINTFINISH; | 538 PRINTFINISH; |
539 return character; | 539 return character; |
540 } | 540 } |
661 int count = specpdl_ptr - specpdl; | 661 int count = specpdl_ptr - specpdl; |
662 Lisp_Object buf, val; | 662 Lisp_Object buf, val; |
663 | 663 |
664 GCPRO1(args); | 664 GCPRO1(args); |
665 name = Feval (Fcar (args)); | 665 name = Feval (Fcar (args)); |
666 CHECK_STRING (name, 0); | 666 CHECK_STRING (name); |
667 temp_output_buffer_setup (XSTRING (name)->data); | 667 temp_output_buffer_setup (XSTRING (name)->data); |
668 buf = Vstandard_output; | 668 buf = Vstandard_output; |
669 UNGCPRO; | 669 UNGCPRO; |
670 | 670 |
671 val = Fprogn (XCDR (args)); | 671 val = Fprogn (XCDR (args)); |
873 You can call print while debugging emacs, and pass it this function | 873 You can call print while debugging emacs, and pass it this function |
874 to make it write to the debugging output. */) | 874 to make it write to the debugging output. */) |
875 (character) | 875 (character) |
876 Lisp_Object character; | 876 Lisp_Object character; |
877 { | 877 { |
878 CHECK_NUMBER (character, 0); | 878 CHECK_NUMBER (character); |
879 putc (XINT (character), stderr); | 879 putc (XINT (character), stderr); |
880 | 880 |
881 #ifdef WINDOWSNT | 881 #ifdef WINDOWSNT |
882 /* Send the output to a debugger (nothing happens if there isn't one). */ | 882 /* Send the output to a debugger (nothing happens if there isn't one). */ |
883 { | 883 { |