]> git.eshelyaron.com Git - emacs.git/commitdiff
(print): Use XMISCTYPE.
authorRichard M. Stallman <rms@gnu.org>
Fri, 7 Apr 1995 05:20:19 +0000 (05:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 7 Apr 1995 05:20:19 +0000 (05:20 +0000)
src/print.c

index 83db0d6978268c682e54e5b04043ec6d95d8d041..7f8fd6daaa8f2503874963a8b21317cda2448fed 100644 (file)
@@ -987,7 +987,7 @@ print (obj, printcharfun, escapeflag)
 
 #ifndef standalone
     case Lisp_Misc:
-      switch (XMISC (obj)->type)
+      switch (XMISCTYPE (obj))
        {
        case Lisp_Misc_Marker:
          strout ("#<marker ", -1, printcharfun);
@@ -1091,7 +1091,7 @@ print (obj, printcharfun, escapeflag)
           Probably should just abort () */
        strout ("#<EMACS BUG: INVALID DATATYPE ", -1, printcharfun);
        if (MISCP (obj))
-         sprintf (buf, "(MISC 0x%04x)", (int) XMISC (obj)->type);
+         sprintf (buf, "(MISC 0x%04x)", (int) XMISCTYPE (obj));
        else if (VECTORLIKEP (obj))
          sprintf (buf, "(PVEC 0x%08x)", (int) XVECTOR (obj)->size);
        else