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,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/print.c,v
Date: Mon, 21 Jul 2008 05:03:39 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/07/21 05:03:39

Index: print.c
===================================================================
RCS file: /sources/emacs/emacs/src/print.c,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -b -r1.250 -r1.251
--- print.c     26 Jun 2008 04:24:37 -0000      1.250
+++ print.c     21 Jul 2008 05:03:39 -0000      1.251
@@ -1560,6 +1560,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) || SUB_CHAR_TABLE_P (obj)
@@ -1610,9 +1614,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)
     {




reply via email to

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