From: Károly Lőrentey Date: Wed, 21 Dec 2005 15:37:25 +0000 (+0000) Subject: (print_preprocess): Don't loose print_depth levels while iterating. X-Git-Tag: emacs-pretest-22.0.90~5148 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aa0b0cd9bcc6ace7a4673064db8f3e44c278c2e9;p=emacs.git (print_preprocess): Don't loose print_depth levels while iterating. --- diff --git a/src/ChangeLog b/src/ChangeLog index e2a9a188504..c82e24b8754 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-12-21 L$,1 q(Brentey K,Aa(Broly + + * print.c (print_preprocess): Don't loose print_depth levels while + iterating. + 2005-12-21 YAMAMOTO Mitsuharu * macmenu.c (Qmac_apple_event): Add extern. diff --git a/src/print.c b/src/print.c index 20c359f9b69..83a80e9b3b4 100644 --- a/src/print.c +++ b/src/print.c @@ -1345,7 +1345,8 @@ print_preprocess (obj) { /* OBJ appears more than once. Let's remember that. */ PRINT_NUMBER_STATUS (Vprint_number_table, i) = Qt; - return; + print_depth--; + return; } /* OBJ is not yet recorded. Let's add to the table. */