[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/print.c,v [EMACS_22_BASE]
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/src/print.c,v [EMACS_22_BASE] |
Date: |
Mon, 21 Jul 2008 05:05:56 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Chong Yidong <cyd> 08/07/21 05:05:56
Index: print.c
===================================================================
RCS file: /sources/emacs/emacs/src/print.c,v
retrieving revision 1.233.2.5
retrieving revision 1.233.2.6
diff -u -b -r1.233.2.5 -r1.233.2.6
--- print.c 8 Jan 2008 04:29:54 -0000 1.233.2.5
+++ print.c 21 Jul 2008 05:05:56 -0000 1.233.2.6
@@ -1487,6 +1487,10 @@
QUIT;
+ /* See similar code in print_preprocess. */
+ if (print_depth > PRINT_CIRCLE)
+ error ("Apparently circular structure being printed");
+
/* Detect circularities and truncate them. */
if (STRINGP (obj) || CONSP (obj) || VECTORP (obj)
|| COMPILEDP (obj) || CHAR_TABLE_P (obj)
@@ -1537,9 +1541,6 @@
print_depth++;
- /* See similar code in print_preprocess. */
- if (print_depth > PRINT_CIRCLE)
- error ("Apparently circular structure being printed");
#ifdef MAX_PRINT_CHARS
if (max_print && print_chars > max_print)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/print.c,v [EMACS_22_BASE],
Chong Yidong <=