diff options
| author | Jim Blandy | 1992-01-30 17:12:45 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-01-30 17:12:45 +0000 |
| commit | 10eebdbb6c911773800e87294f3c4c0c41f5dfe2 (patch) | |
| tree | 210593d778053f0e464c2b5baa17687d6ba15926 /src | |
| parent | 1426f6f91e5c7ee95553275957113589cc45a6c3 (diff) | |
| download | emacs-10eebdbb6c911773800e87294f3c4c0c41f5dfe2.tar.gz emacs-10eebdbb6c911773800e87294f3c4c0c41f5dfe2.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/print.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/print.c b/src/print.c index 3bf0796c061..b65db9aedc6 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -137,7 +137,7 @@ glyph_to_str_cpy (glyphs, str) | |||
| 137 | 137 | ||
| 138 | #define PRINTPREPARE \ | 138 | #define PRINTPREPARE \ |
| 139 | original = printcharfun; \ | 139 | original = printcharfun; \ |
| 140 | if (NULL (printcharfun)) printcharfun = Qt; \ | 140 | if (NILP (printcharfun)) printcharfun = Qt; \ |
| 141 | if (XTYPE (printcharfun) == Lisp_Buffer) \ | 141 | if (XTYPE (printcharfun) == Lisp_Buffer) \ |
| 142 | { if (XBUFFER (printcharfun) != current_buffer) Fset_buffer (printcharfun); \ | 142 | { if (XBUFFER (printcharfun) != current_buffer) Fset_buffer (printcharfun); \ |
| 143 | printcharfun = Qnil;}\ | 143 | printcharfun = Qnil;}\ |
| @@ -301,7 +301,7 @@ STREAM defaults to the value of `standard-output' (which see).") | |||
| 301 | int start_point; | 301 | int start_point; |
| 302 | Lisp_Object original; | 302 | Lisp_Object original; |
| 303 | 303 | ||
| 304 | if (NULL (printcharfun)) | 304 | if (NILP (printcharfun)) |
| 305 | printcharfun = Vstandard_output; | 305 | printcharfun = Vstandard_output; |
| 306 | CHECK_NUMBER (ch, 0); | 306 | CHECK_NUMBER (ch, 0); |
| 307 | PRINTPREPARE; | 307 | PRINTPREPARE; |
| @@ -438,7 +438,7 @@ If STREAM is omitted or nil, the value of `standard-output' is used.") | |||
| 438 | int start_point; | 438 | int start_point; |
| 439 | Lisp_Object original; | 439 | Lisp_Object original; |
| 440 | 440 | ||
| 441 | if (NULL (printcharfun)) | 441 | if (NILP (printcharfun)) |
| 442 | printcharfun = Vstandard_output; | 442 | printcharfun = Vstandard_output; |
| 443 | PRINTPREPARE; | 443 | PRINTPREPARE; |
| 444 | PRINTCHAR ('\n'); | 444 | PRINTCHAR ('\n'); |
| @@ -462,7 +462,7 @@ Output stream is STREAM, or value of `standard-output' (which see).") | |||
| 462 | #ifdef MAX_PRINT_CHARS | 462 | #ifdef MAX_PRINT_CHARS |
| 463 | max_print = 0; | 463 | max_print = 0; |
| 464 | #endif /* MAX_PRINT_CHARS */ | 464 | #endif /* MAX_PRINT_CHARS */ |
| 465 | if (NULL (printcharfun)) | 465 | if (NILP (printcharfun)) |
| 466 | printcharfun = Vstandard_output; | 466 | printcharfun = Vstandard_output; |
| 467 | PRINTPREPARE; | 467 | PRINTPREPARE; |
| 468 | print_depth = 0; | 468 | print_depth = 0; |
| @@ -491,7 +491,7 @@ second argument NOESCAPE is non-nil.") | |||
| 491 | printcharfun = Vprin1_to_string_buffer; | 491 | printcharfun = Vprin1_to_string_buffer; |
| 492 | PRINTPREPARE; | 492 | PRINTPREPARE; |
| 493 | print_depth = 0; | 493 | print_depth = 0; |
| 494 | print (obj, printcharfun, NULL (noescape)); | 494 | print (obj, printcharfun, NILP (noescape)); |
| 495 | /* Make Vprin1_to_string_buffer be the default buffer after PRINTFINSH */ | 495 | /* Make Vprin1_to_string_buffer be the default buffer after PRINTFINSH */ |
| 496 | PRINTFINISH; | 496 | PRINTFINISH; |
| 497 | set_buffer_internal (XBUFFER (Vprin1_to_string_buffer)); | 497 | set_buffer_internal (XBUFFER (Vprin1_to_string_buffer)); |
| @@ -518,7 +518,7 @@ Output stream is STREAM, or value of standard-output (which see).") | |||
| 518 | int start_point; | 518 | int start_point; |
| 519 | Lisp_Object original; | 519 | Lisp_Object original; |
| 520 | 520 | ||
| 521 | if (NULL (printcharfun)) | 521 | if (NILP (printcharfun)) |
| 522 | printcharfun = Vstandard_output; | 522 | printcharfun = Vstandard_output; |
| 523 | PRINTPREPARE; | 523 | PRINTPREPARE; |
| 524 | print_depth = 0; | 524 | print_depth = 0; |
| @@ -545,7 +545,7 @@ Output stream is STREAM, or value of `standard-output' (which see).") | |||
| 545 | print_chars = 0; | 545 | print_chars = 0; |
| 546 | max_print = MAX_PRINT_CHARS; | 546 | max_print = MAX_PRINT_CHARS; |
| 547 | #endif /* MAX_PRINT_CHARS */ | 547 | #endif /* MAX_PRINT_CHARS */ |
| 548 | if (NULL (printcharfun)) | 548 | if (NILP (printcharfun)) |
| 549 | printcharfun = Vstandard_output; | 549 | printcharfun = Vstandard_output; |
| 550 | GCPRO1 (obj); | 550 | GCPRO1 (obj); |
| 551 | PRINTPREPARE; | 551 | PRINTPREPARE; |
| @@ -602,7 +602,7 @@ float_to_string (buf, data) | |||
| 602 | register unsigned char *cp, c; | 602 | register unsigned char *cp, c; |
| 603 | register int width; | 603 | register int width; |
| 604 | 604 | ||
| 605 | if (NULL (Vfloat_output_format) | 605 | if (NILP (Vfloat_output_format) |
| 606 | || XTYPE (Vfloat_output_format) != Lisp_String) | 606 | || XTYPE (Vfloat_output_format) != Lisp_String) |
| 607 | lose: | 607 | lose: |
| 608 | sprintf (buf, "%.20g", data); | 608 | sprintf (buf, "%.20g", data); |
| @@ -821,7 +821,7 @@ print (obj, printcharfun, escapeflag) | |||
| 821 | obj = Fcdr (obj); | 821 | obj = Fcdr (obj); |
| 822 | } | 822 | } |
| 823 | } | 823 | } |
| 824 | if (!NULL (obj) && !CONSP (obj)) | 824 | if (!NILP (obj) && !CONSP (obj)) |
| 825 | { | 825 | { |
| 826 | strout (" . ", 3, printcharfun); | 826 | strout (" . ", 3, printcharfun); |
| 827 | print (obj, printcharfun, escapeflag); | 827 | print (obj, printcharfun, escapeflag); |
| @@ -848,7 +848,7 @@ print (obj, printcharfun, escapeflag) | |||
| 848 | 848 | ||
| 849 | #ifndef standalone | 849 | #ifndef standalone |
| 850 | case Lisp_Buffer: | 850 | case Lisp_Buffer: |
| 851 | if (NULL (XBUFFER (obj)->name)) | 851 | if (NILP (XBUFFER (obj)->name)) |
| 852 | strout ("#<killed buffer>", -1, printcharfun); | 852 | strout ("#<killed buffer>", -1, printcharfun); |
| 853 | else if (escapeflag) | 853 | else if (escapeflag) |
| 854 | { | 854 | { |
| @@ -875,7 +875,7 @@ print (obj, printcharfun, escapeflag) | |||
| 875 | strout ("#<window ", -1, printcharfun); | 875 | strout ("#<window ", -1, printcharfun); |
| 876 | sprintf (buf, "%d", XFASTINT (XWINDOW (obj)->sequence_number)); | 876 | sprintf (buf, "%d", XFASTINT (XWINDOW (obj)->sequence_number)); |
| 877 | strout (buf, -1, printcharfun); | 877 | strout (buf, -1, printcharfun); |
| 878 | if (!NULL (XWINDOW (obj)->buffer)) | 878 | if (!NILP (XWINDOW (obj)->buffer)) |
| 879 | { | 879 | { |
| 880 | strout (" on ", -1, printcharfun); | 880 | strout (" on ", -1, printcharfun); |
| 881 | print_string (XBUFFER (XWINDOW (obj)->buffer)->name, printcharfun); | 881 | print_string (XBUFFER (XWINDOW (obj)->buffer)->name, printcharfun); |