emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d17a867d70: ; * src/print.c (print_vectorlike): Fix Lisp_Object t


From: Po Lu
Subject: master d17a867d70: ; * src/print.c (print_vectorlike): Fix Lisp_Object type mixup.
Date: Thu, 28 Jul 2022 09:04:19 -0400 (EDT)

branch: master
commit d17a867d7085a1f68ff01f9fb01f2a1b4d1e8484
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    ; * 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 7bb905b269..7303e847aa 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));



reply via email to

[Prev in Thread] Current Thread [Next in Thread]