[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/print.c [emacs-unicode-2]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/src/print.c [emacs-unicode-2] |
Date: |
Fri, 23 Jul 2004 00:42:31 -0400 |
Index: emacs/src/print.c
diff -c emacs/src/print.c:1.190.2.9 emacs/src/print.c:1.190.2.10
*** emacs/src/print.c:1.190.2.9 Tue Jun 29 16:46:04 2004
--- emacs/src/print.c Fri Jul 23 04:30:42 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 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/print.c [emacs-unicode-2],
Miles Bader <=