Commit 7ae137a9 authored by Karl Heuer's avatar Karl Heuer
Browse files

(print): current_perdisplay now is never null.

parent 1cb0ddb9
......@@ -1051,12 +1051,9 @@ print (obj, printcharfun, escapeflag)
case Lisp_Misc_Display_Objfwd:
strout (buf, "#<display_objfwd to ", -1, printcharfun);
if (!current_perdisplay)
strout ("no-current-perdisplay");
else
print (*(Lisp_Object *)((char *) current_perdisplay
+ XDISPLAY_OBJFWD (obj)->offset),
printcharfun, escapeflag);
print (*(Lisp_Object *)((char *) current_perdisplay
+ XDISPLAY_OBJFWD (obj)->offset),
printcharfun, escapeflag);
PRINTCHAR ('>');
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment