diff options
| author | Gerd Moellmann | 2000-02-17 09:45:46 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-02-17 09:45:46 +0000 |
| commit | cc94f3b24e447e04da3e899af8909cb77d648ef0 (patch) | |
| tree | 9dc9189ad96dec0e5237e9fd36a6baf505c9eb7d /src/print.c | |
| parent | 10689a01d99ab2f3382bb7ef3912961ec08f8bb9 (diff) | |
| download | emacs-cc94f3b24e447e04da3e899af8909cb77d648ef0.tar.gz emacs-cc94f3b24e447e04da3e899af8909cb77d648ef0.zip | |
Remove `LISP_FLOAT_TYPE' and `standalone'.
Diffstat (limited to 'src/print.c')
| -rw-r--r-- | src/print.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/print.c b/src/print.c index 2d1f13aadd5..25e7f0a91ed 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -40,7 +40,6 @@ Lisp_Object Qtemp_buffer_setup_hook; | |||
| 40 | /* These are used to print like we read. */ | 40 | /* These are used to print like we read. */ |
| 41 | extern Lisp_Object Qbackquote, Qcomma, Qcomma_at, Qcomma_dot, Qfunction; | 41 | extern Lisp_Object Qbackquote, Qcomma, Qcomma_at, Qcomma_dot, Qfunction; |
| 42 | 42 | ||
| 43 | #ifdef LISP_FLOAT_TYPE | ||
| 44 | Lisp_Object Vfloat_output_format, Qfloat_output_format; | 43 | Lisp_Object Vfloat_output_format, Qfloat_output_format; |
| 45 | 44 | ||
| 46 | /* Work around a problem that happens because math.h on hpux 7 | 45 | /* Work around a problem that happens because math.h on hpux 7 |
| @@ -89,8 +88,6 @@ Lisp_Object Vfloat_output_format, Qfloat_output_format; | |||
| 89 | #define DOUBLE_DIGITS_BOUND ((int) ceil (log10 (pow (FLT_RADIX, DBL_MANT_DIG)))) | 88 | #define DOUBLE_DIGITS_BOUND ((int) ceil (log10 (pow (FLT_RADIX, DBL_MANT_DIG)))) |
| 90 | #endif | 89 | #endif |
| 91 | 90 | ||
| 92 | #endif /* LISP_FLOAT_TYPE */ | ||
| 93 | |||
| 94 | /* Avoid actual stack overflow in print. */ | 91 | /* Avoid actual stack overflow in print. */ |
| 95 | int print_depth; | 92 | int print_depth; |
| 96 | 93 | ||
| @@ -914,7 +911,6 @@ print_error_message (data, stream) | |||
| 914 | UNGCPRO; | 911 | UNGCPRO; |
| 915 | } | 912 | } |
| 916 | 913 | ||
| 917 | #ifdef LISP_FLOAT_TYPE | ||
| 918 | 914 | ||
| 919 | /* | 915 | /* |
| 920 | * The buffer should be at least as large as the max string size of the | 916 | * The buffer should be at least as large as the max string size of the |
| @@ -1053,7 +1049,7 @@ float_to_string (buf, data) | |||
| 1053 | } | 1049 | } |
| 1054 | } | 1050 | } |
| 1055 | } | 1051 | } |
| 1056 | #endif /* LISP_FLOAT_TYPE */ | 1052 | |
| 1057 | 1053 | ||
| 1058 | static void | 1054 | static void |
| 1059 | print (obj, printcharfun, escapeflag) | 1055 | print (obj, printcharfun, escapeflag) |
| @@ -1269,7 +1265,6 @@ print_object (obj, printcharfun, escapeflag) | |||
| 1269 | strout (buf, -1, -1, printcharfun, 0); | 1265 | strout (buf, -1, -1, printcharfun, 0); |
| 1270 | break; | 1266 | break; |
| 1271 | 1267 | ||
| 1272 | #ifdef LISP_FLOAT_TYPE | ||
| 1273 | case Lisp_Float: | 1268 | case Lisp_Float: |
| 1274 | { | 1269 | { |
| 1275 | char pigbuf[350]; /* see comments in float_to_string */ | 1270 | char pigbuf[350]; /* see comments in float_to_string */ |
| @@ -1278,7 +1273,6 @@ print_object (obj, printcharfun, escapeflag) | |||
| 1278 | strout (pigbuf, -1, -1, printcharfun, 0); | 1273 | strout (pigbuf, -1, -1, printcharfun, 0); |
| 1279 | } | 1274 | } |
| 1280 | break; | 1275 | break; |
| 1281 | #endif | ||
| 1282 | 1276 | ||
| 1283 | case Lisp_String: | 1277 | case Lisp_String: |
| 1284 | if (!escapeflag) | 1278 | if (!escapeflag) |
| @@ -1886,7 +1880,6 @@ or the symbol t (output appears in the echo area)."); | |||
| 1886 | Qstandard_output = intern ("standard-output"); | 1880 | Qstandard_output = intern ("standard-output"); |
| 1887 | staticpro (&Qstandard_output); | 1881 | staticpro (&Qstandard_output); |
| 1888 | 1882 | ||
| 1889 | #ifdef LISP_FLOAT_TYPE | ||
| 1890 | DEFVAR_LISP ("float-output-format", &Vfloat_output_format, | 1883 | DEFVAR_LISP ("float-output-format", &Vfloat_output_format, |
| 1891 | "The format descriptor string used to print floats.\n\ | 1884 | "The format descriptor string used to print floats.\n\ |
| 1892 | This is a %-spec like those accepted by `printf' in C,\n\ | 1885 | This is a %-spec like those accepted by `printf' in C,\n\ |
| @@ -1905,7 +1898,6 @@ that represents the number without losing information."); | |||
| 1905 | Vfloat_output_format = Qnil; | 1898 | Vfloat_output_format = Qnil; |
| 1906 | Qfloat_output_format = intern ("float-output-format"); | 1899 | Qfloat_output_format = intern ("float-output-format"); |
| 1907 | staticpro (&Qfloat_output_format); | 1900 | staticpro (&Qfloat_output_format); |
| 1908 | #endif /* LISP_FLOAT_TYPE */ | ||
| 1909 | 1901 | ||
| 1910 | DEFVAR_LISP ("print-length", &Vprint_length, | 1902 | DEFVAR_LISP ("print-length", &Vprint_length, |
| 1911 | "Maximum length of list to print before abbreviating.\n\ | 1903 | "Maximum length of list to print before abbreviating.\n\ |