Mercurial > emacs
changeset 21455:4a457fda49b5
* print.c (print): Avoid `min'/`max' as variable names.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 09 Apr 1998 17:58:28 +0000 |
parents | 1361a790bca8 |
children | c0496e62b737 |
files | src/print.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/print.c Thu Apr 09 17:47:17 1998 +0000 +++ b/src/print.c Thu Apr 09 17:58:28 1998 +0000 @@ -1370,10 +1370,10 @@ PRINTCHAR ('('); { register int i = 0; - register int max = 0; + register int print_length = 0; if (INTEGERP (Vprint_length)) - max = XINT (Vprint_length); + print_length = XINT (Vprint_length); /* Could recognize circularities in cdrs here, but that would make printing of long lists quadratic. It's not worth doing. */ @@ -1381,7 +1381,7 @@ { if (i++) PRINTCHAR (' '); - if (max && i > max) + if (print_length && i > print_length) { strout ("...", 3, 3, printcharfun, 0); break;