diff src/eval.c @ 5086:47bcef7b0b44

Print multiple values with #<INTERNAL OBJECT (XEmacs bug?) ...>, too 2010-03-02 Aidan Kehoe <kehoea@parhasard.net> * eval.c (print_multiple_value): Say #<INTERNAL OBJECT (XEmacs bug?) ...> when printing these, for consistency with the rest of the print code.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 02 Mar 2010 13:20:51 +0000
parents 6afe991b8135
children 7be849cb8828
line wrap: on
line diff
--- a/src/eval.c	Tue Mar 02 13:02:36 2010 +0000
+++ b/src/eval.c	Tue Mar 02 13:20:51 2010 +0000
@@ -4608,10 +4608,9 @@
       printing_unreadable_object ("multiple values");
     }
 
-  if (0 == count)
-    {
-      write_msg_string (printcharfun, "#<zero-length multiple value>");
-    }
+  write_fmt_string (printcharfun,
+                    "#<INTERNAL OBJECT (XEmacs bug?) %d multiple values,"
+                    " data (", count);
 
   for (index = 0; index < count;)
     {
@@ -4632,9 +4631,11 @@
 
       if (count > 1 && index < count)
         {
-          write_ascstring (printcharfun, " ;\n");
+          write_ascstring (printcharfun, " ");
         }
     }
+
+  write_fmt_string (printcharfun, ") 0x%lx>", (unsigned long) XPNTR (obj));
 }
 
 static Lisp_Object