emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/print.c [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/print.c [lexbind]
Date: Fri, 23 Jul 2004 01:13:32 -0400

Index: emacs/src/print.c
diff -c emacs/src/print.c:1.175.2.10 emacs/src/print.c:1.175.2.11
*** emacs/src/print.c:1.175.2.10        Tue Jul  6 10:20:31 2004
--- emacs/src/print.c   Fri Jul 23 04:42:23 2004
***************
*** 1284,1289 ****
--- 1284,1294 ----
    int loop_count = 0;
    Lisp_Object halftail;
  
+   /* Give up if we go so deep that print_object will get an error.  */
+   /* See similar code in print_object.  */
+   if (print_depth >= PRINT_CIRCLE)
+     return;
+ 
    /* Avoid infinite recursion for circular nested structure
       in the case where Vprint_circle is nil.  */
    if (NILP (Vprint_circle))
***************
*** 1294,1304 ****
        being_printed[print_depth] = obj;
      }
  
-   /* Give up if we go so deep that print_object will get an error.  */
-   /* See similar code in print_object.  */
-   if (print_depth >= PRINT_CIRCLE)
-     return;
- 
    print_depth++;
    halftail = obj;
  
--- 1299,1304 ----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]