aboutsummaryrefslogtreecommitdiffstats
path: root/src/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/print.c b/src/print.c
index b14a769dc74..78a0707627c 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1967,6 +1967,18 @@ print_object (Lisp_Object obj, register Lisp_Object printcharfun, int escapeflag
1967 } 1967 }
1968 PRINTCHAR ('>'); 1968 PRINTCHAR ('>');
1969 } 1969 }
1970 else if (CONDVARP (obj))
1971 {
1972 strout ("#<condvar ", -1, -1, printcharfun);
1973 if (STRINGP (XCONDVAR (obj)->name))
1974 print_string (XCONDVAR (obj)->name, printcharfun);
1975 else
1976 {
1977 int len = sprintf (buf, "%p", XCONDVAR (obj));
1978 strout (buf, len, len, printcharfun);
1979 }
1980 PRINTCHAR ('>');
1981 }
1970 else 1982 else
1971 { 1983 {
1972 ptrdiff_t size = ASIZE (obj); 1984 ptrdiff_t size = ASIZE (obj);