]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/print.c (print_vectorlike): Fix Lisp_Object type mixup.
authorPo Lu <luangruo@yahoo.com>
Thu, 28 Jul 2022 13:04:06 +0000 (21:04 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 28 Jul 2022 13:04:06 +0000 (21:04 +0800)
src/print.c

index 7bb905b26997aedec27f3c56f73b64bdbdddad48..7303e847aa23d9c5300d2dc398260e213b7c7e0f 100644 (file)
@@ -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));