}
PRINTCHAR ('>');
}
+ else if (BUFFERP (obj))
+ {
+ if (NILP (XBUFFER (obj)->name))
+ strout ("#<killed buffer>", -1, printcharfun);
+ else if (escapeflag)
+ {
+ strout ("#<buffer ", -1, printcharfun);
+ print_string (XBUFFER (obj)->name, printcharfun);
+ PRINTCHAR ('>');
+ }
+ else
+ print_string (XBUFFER (obj)->name, printcharfun);
+ }
else if (WINDOW_CONFIGURATIONP (obj))
{
strout ("#<window-configuration>", -1, printcharfun);
break;
#ifndef standalone
- case Lisp_Buffer:
- if (NILP (XBUFFER (obj)->name))
- strout ("#<killed buffer>", -1, printcharfun);
- else if (escapeflag)
- {
- strout ("#<buffer ", -1, printcharfun);
- print_string (XBUFFER (obj)->name, printcharfun);
- PRINTCHAR ('>');
- }
- else
- print_string (XBUFFER (obj)->name, printcharfun);
- break;
-
case Lisp_Misc:
if (MARKERP (obj))
{
print_string (XMARKER (obj)->buffer->name, printcharfun);
}
PRINTCHAR ('>');
+ break;
}
else if (OVERLAYP (obj))
{
printcharfun);
}
PRINTCHAR ('>');
+ break;
}
+ /* Other cases fall through to get an error. */
#endif /* standalone */
default: