]> git.eshelyaron.com Git - emacs.git/commitdiff
(print_preprocess): Don't loose print_depth levels while iterating.
authorKároly Lőrentey <lorentey@elte.hu>
Wed, 21 Dec 2005 15:37:25 +0000 (15:37 +0000)
committerKároly Lőrentey <lorentey@elte.hu>
Wed, 21 Dec 2005 15:37:25 +0000 (15:37 +0000)
src/ChangeLog
src/print.c

index e2a9a18850498fecf54738f7e5728f71e7018f4e..c82e24b875456047052452b3947c538b8e35b463 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-21  L\e$,1 q\e(Brentey K\e,Aa\e(Broly  <lorentey@elte.hu>
+
+       * print.c (print_preprocess): Don't loose print_depth levels while
+       iterating.
+
 2005-12-21  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * macmenu.c (Qmac_apple_event): Add extern.
index 20c359f9b69cb17a2b2fb9319c178f10642d897e..83a80e9b3b4a1267126675223fc2122fc0ced4bc 100644 (file)
@@ -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.  */