From 2ba00479db3f71f46444733c0edc5f8d16155b69 Mon Sep 17 00:00:00 2001 From: Simon Pugnet Date: Wed, 2 Mar 2022 16:25:29 +0000 Subject: evil-fold-action: add missing FORMAT argument to with-demoted-errors * evil-commands.el (evil-fold-action): add FORMAT argument which is now required as of Emacs commit d52c929e31f60ff0462371bfe27ebd479e3e82bd. --- evil-commands.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evil-commands.el b/evil-commands.el index ff8ee3f..12d1148 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -3065,7 +3065,7 @@ not interfere with another." (let* ((actions (cdar list)) (fn (plist-get actions action))) (when fn - (with-demoted-errors (funcall fn)))) + (with-demoted-errors "Error: %S" (funcall fn)))) (evil-fold-action (cdr list) action))))) (defun evil--mode-p (modes) -- cgit v1.0