]> git.eshelyaron.com Git - emacs.git/commitdiff
(print_object): Print Lisp_Misc_Save_Value objects.
authorKim F. Storm <storm@cua.dk>
Fri, 5 Nov 2004 22:46:17 +0000 (22:46 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 5 Nov 2004 22:46:17 +0000 (22:46 +0000)
src/print.c

index 5a0f7fe6220117f4efbaee2c799a853251a1453c..76c648b9a2e55e1e6aa055f8fad6fd827096504e 100644 (file)
@@ -2085,6 +2085,15 @@ print_object (obj, printcharfun, escapeflag)
          PRINTCHAR ('>');
          break;
 
+       case Lisp_Misc_Save_Value:
+         strout ("#<save_value ", -1, -1, printcharfun, 0);
+         sprintf(buf, "ptr=0x%08x int=%d",
+                 (unsigned long) XSAVE_VALUE (obj)->pointer,
+                 XSAVE_VALUE (obj)->integer);
+         strout (buf, -1, -1, printcharfun, 0);
+         PRINTCHAR ('>');
+         break;
+
        default:
          goto badtype;
        }