Mercurial > emacs
changeset 55683:3e6ff504a4ea
(print): Reset print_depth before to call print_object.
author | David Ponce <david@dponce.com> |
---|---|
date | Wed, 19 May 2004 07:37:13 +0000 |
parents | 1374d9297422 |
children | 59392026de4d |
files | src/print.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/print.c Wed May 19 02:16:56 2004 +0000 +++ b/src/print.c Wed May 19 07:37:13 2004 +0000 @@ -1220,7 +1220,6 @@ register Lisp_Object printcharfun; int escapeflag; { - print_depth = 0; old_backquote_output = 0; /* Reset print_number_index and Vprint_number_table only when @@ -1240,6 +1239,7 @@ start = index = print_number_index; /* Construct Vprint_number_table. This increments print_number_index for the objects added. */ + print_depth = 0; print_preprocess (obj); /* Remove unnecessary objects, which appear only once in OBJ; @@ -1264,6 +1264,7 @@ print_number_index = index; } + print_depth = 0; print_object (obj, printcharfun, escapeflag); }