[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/print.c
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/print.c |
Date: |
Sat, 17 Jul 2004 10:57:55 -0400 |
Index: emacs/src/print.c
diff -c emacs/src/print.c:1.205 emacs/src/print.c:1.206
*** emacs/src/print.c:1.205 Mon Jun 21 19:51:27 2004
--- emacs/src/print.c Sat Jul 17 14:54:56 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,
Richard M . Stallman <=