diff options
| author | Karl Heuer | 1995-03-13 21:49:49 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-03-13 21:49:49 +0000 |
| commit | 7ae137a96fb44f02ae83e6b47adaced0eb550de9 (patch) | |
| tree | bc44ebc86985471c0b87f83e2df49fe2d75b2ef4 /src | |
| parent | 1cb0ddb98855bc576d67841dedbf9752c705068f (diff) | |
| download | emacs-7ae137a96fb44f02ae83e6b47adaced0eb550de9.tar.gz emacs-7ae137a96fb44f02ae83e6b47adaced0eb550de9.zip | |
(print): current_perdisplay now is never null.
Diffstat (limited to 'src')
| -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) | |||
| 1051 | 1051 | ||
| 1052 | case Lisp_Misc_Display_Objfwd: | 1052 | case Lisp_Misc_Display_Objfwd: |
| 1053 | strout (buf, "#<display_objfwd to ", -1, printcharfun); | 1053 | strout (buf, "#<display_objfwd to ", -1, printcharfun); |
| 1054 | if (!current_perdisplay) | 1054 | print (*(Lisp_Object *)((char *) current_perdisplay |
| 1055 | strout ("no-current-perdisplay"); | 1055 | + XDISPLAY_OBJFWD (obj)->offset), |
| 1056 | else | 1056 | printcharfun, escapeflag); |
| 1057 | print (*(Lisp_Object *)((char *) current_perdisplay | ||
| 1058 | + XDISPLAY_OBJFWD (obj)->offset), | ||
| 1059 | printcharfun, escapeflag); | ||
| 1060 | PRINTCHAR ('>'); | 1057 | PRINTCHAR ('>'); |
| 1061 | break; | 1058 | break; |
| 1062 | 1059 | ||