diff --git a/src/print.c b/src/print.c index 6a27ceac5f0..bd1d76b3b1b 100644 --- a/src/print.c +++ b/src/print.c @@ -2036,7 +2036,7 @@ print_vectorlike_unreadable (Lisp_Object obj, Lisp_Object printcharfun, if (!treesit_node_buffer_live_p (obj)) { print_c_string ("-in-killed-buffer>", printcharfun); - break; + return; } printchar (' ', printcharfun); /* Now the node must be up-to-date, and calling functions like