summaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-07-28 21:04:06 +0800
committerPo Lu <luangruo@yahoo.com>2022-07-28 21:04:06 +0800
commitd17a867d7085a1f68ff01f9fb01f2a1b4d1e8484 (patch)
tree77d534ef7879b0d0cfaea2cd4fe8c62b414c3471 /src/print.c
parent1ec70ef3df49b473f6f8fe261d5b531db3fabc9d (diff)
downloademacs-d17a867d7085a1f68ff01f9fb01f2a1b4d1e8484.tar.gz
emacs-d17a867d7085a1f68ff01f9fb01f2a1b4d1e8484.tar.bz2
emacs-d17a867d7085a1f68ff01f9fb01f2a1b4d1e8484.zip
; * src/print.c (print_vectorlike): Fix Lisp_Object type mixup.
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c2
1 files changed, 1 insertions, 1 deletions
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));