diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-03-13 21:49:49 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-03-13 21:49:49 +0000 |
commit | 1cbb8c73636406d4814da5e880fe57df57ef0373 (patch) | |
tree | 0cb09961d93841cf0476906fc5f54e05ef937a01 /src/print.c | |
parent | 0dddef012ab1668a0b8fc60eb463046dfda793bd (diff) | |
download | emacs-1cbb8c73636406d4814da5e880fe57df57ef0373.tar.gz |
(print): current_perdisplay now is never null.
Diffstat (limited to 'src/print.c')
-rw-r--r-- | src/print.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/print.c b/src/print.c index 08663d10cdc..1810457cbba 100644 --- a/src/print.c +++ b/src/print.c @@ -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; |