changeset 10993:e72bd65cab70

(print): current_perdisplay now is never null.
author Karl Heuer <kwzh@gnu.org>
date Mon, 13 Mar 1995 21:49:49 +0000
parents a42bf0c8a5ad
children d173d21f14e2
files src/print.c
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Mon Mar 13 21:49:34 1995 +0000
+++ b/src/print.c	Mon Mar 13 21:49:49 1995 +0000
@@ -1051,12 +1051,9 @@
 
 	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;