aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1998-04-09 17:58:28 +0000
committerKarl Heuer1998-04-09 17:58:28 +0000
commitf4fe72d542cac4978ce691b89a0fe2524515b274 (patch)
tree318f1dee12caa6a6ce9e4e164fe5d7979ed3ebb7 /src
parenta3833dfef0e8f659ad74f00aab1e8a8bfe2941f9 (diff)
downloademacs-f4fe72d542cac4978ce691b89a0fe2524515b274.tar.gz
emacs-f4fe72d542cac4978ce691b89a0fe2524515b274.zip
* print.c (print): Avoid `min'/`max' as variable names.
Diffstat (limited to 'src')
-rw-r--r--src/print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/print.c b/src/print.c
index 69b1e28fea0..443b2f03a30 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1370,10 +1370,10 @@ print (obj, printcharfun, escapeflag)
1370 PRINTCHAR ('('); 1370 PRINTCHAR ('(');
1371 { 1371 {
1372 register int i = 0; 1372 register int i = 0;
1373 register int max = 0; 1373 register int print_length = 0;
1374 1374
1375 if (INTEGERP (Vprint_length)) 1375 if (INTEGERP (Vprint_length))
1376 max = XINT (Vprint_length); 1376 print_length = XINT (Vprint_length);
1377 /* Could recognize circularities in cdrs here, 1377 /* Could recognize circularities in cdrs here,
1378 but that would make printing of long lists quadratic. 1378 but that would make printing of long lists quadratic.
1379 It's not worth doing. */ 1379 It's not worth doing. */
@@ -1381,7 +1381,7 @@ print (obj, printcharfun, escapeflag)
1381 { 1381 {
1382 if (i++) 1382 if (i++)
1383 PRINTCHAR (' '); 1383 PRINTCHAR (' ');
1384 if (max && i > max) 1384 if (print_length && i > print_length)
1385 { 1385 {
1386 strout ("...", 3, 3, printcharfun, 0); 1386 strout ("...", 3, 3, printcharfun, 0);
1387 break; 1387 break;