diff options
Diffstat (limited to 'src/print.c')
-rw-r--r-- | src/print.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c index 8e4a38c4ae9..dbe8a8950f7 100644 --- a/src/print.c +++ b/src/print.c @@ -36,7 +36,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #include "blockinput.h" #include "termhooks.h" /* For struct terminal. */ #include "font.h" - +#ifdef HAVE_XWIDGETS +#include "xwidget.h" +#endif Lisp_Object Qstandard_output; static Lisp_Object Qtemp_buffer_setup_hook; @@ -1763,6 +1765,13 @@ print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag strout (XSUBR (obj)->symbol_name, -1, -1, printcharfun); PRINTCHAR ('>'); } +#ifdef HAVE_XWIDGETS + else if (XXWIDGETP (obj)) + { + strout ("#<xwidget ", -1, -1, printcharfun); + PRINTCHAR ('>'); + } +#endif else if (WINDOWP (obj)) { strout ("#<window ", -1, -1, printcharfun); |