From dc8a692f97fdafaa31001ab0620394525103ddb7 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 3 Mar 2022 10:12:44 -0500 Subject: [PATCH] (with-demoted-errors): Fix bug#54225 * lisp/subr.el (with-demoted-errors): Adjust to argument order of `macroexp-warn-and-return` changed in f262a6af3694b41828ff. --- lisp/subr.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/subr.el b/lisp/subr.el index eb9af0b36da..2321765f953 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -4560,7 +4560,7 @@ but that should be robust in the unexpected case that an error is signaled." (if (eq orig-body body) exp ;; The use without `format' is obsolete, let's warn when we bump ;; into any such remaining uses. - (macroexp-warn-and-return format "Missing format argument" exp)))) + (macroexp-warn-and-return "Missing format argument" exp nil nil format)))) (defmacro combine-after-change-calls (&rest body) "Execute BODY, but don't call the after-change functions till the end. -- 2.39.5