emacs-diffs
[Top][All Lists]
Advanced

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

master dc8a692f97: (with-demoted-errors): Fix bug#54225


From: Stefan Monnier
Subject: master dc8a692f97: (with-demoted-errors): Fix bug#54225
Date: Thu, 3 Mar 2022 10:13:43 -0500 (EST)

branch: master
commit dc8a692f97fdafaa31001ab0620394525103ddb7
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    (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 eb9af0b36d..2321765f95 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.



reply via email to

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