From adafe4f72b582f3784af347f0ab6ac5397133521 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 11 Mar 2026 11:09:12 -0400 Subject: [PATCH] lisp/subr.el (run-hook-query-error-with-timeout): Avoid `%s` for lists --- lisp/subr.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/subr.el b/lisp/subr.el index 0ad86fd30a1..69b25c7baca 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -7745,7 +7745,8 @@ seconds." (condition-case err (funcall fun) (error - (unless (y-or-n-p-with-timeout (format "Error %s; continue?" err) + (unless (y-or-n-p-with-timeout (format "Error %s; continue?" + (error-message-string err)) 5 t) (error err)))) ;; Continue running.