From d17a867d7085a1f68ff01f9fb01f2a1b4d1e8484 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 28 Jul 2022 21:04:06 +0800 Subject: [PATCH] ; * src/print.c (print_vectorlike): Fix Lisp_Object type mixup. --- src/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/print.c b/src/print.c index 7bb905b2699..7303e847aa2 100644 --- a/src/print.c +++ b/src/print.c @@ -1662,7 +1662,7 @@ print_vectorlike (Lisp_Object obj, Lisp_Object printcharfun, bool escapeflag, problems if, for instance, the callback function switches a window to this buffer -- this will make Emacs segfault. */ if (!NILP (Vprint__unreadable_callback_buffer) - && Fbuffer_live_p (Vprint__unreadable_callback_buffer)) + && !NILP (Fbuffer_live_p (Vprint__unreadable_callback_buffer))) { record_unwind_current_buffer (); set_buffer_internal (XBUFFER (Vprint__unreadable_callback_buffer)); -- 2.39.2