summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-04-07 05:20:19 +0000
committerRichard M. Stallman <rms@gnu.org>1995-04-07 05:20:19 +0000
commit5db20f083105f2787515d091c968ba90a5e82c99 (patch)
treeecbe1acd190d10c5ef467f621b25673f8eb30da9
parent81d1fba6c9224cc3aa6636bfc9779381811270e1 (diff)
downloademacs-5db20f083105f2787515d091c968ba90a5e82c99.tar.gz
(print): Use XMISCTYPE.
-rw-r--r--src/print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/print.c b/src/print.c
index 83db0d69782..7f8fd6daaa8 100644
--- a/src/print.c
+++ b/src/print.c
@@ -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