From cf1a11912d1e77a197fab0e4f82d0c2268084455 Mon Sep 17 00:00:00 2001 From: Abdelhak Bougouffa Date: Mon, 25 Dec 2023 15:32:17 +0100 Subject: [PATCH] Fix the new `corfu--setup` signature (backward compatible) --- modes/corfu/evil-collection-corfu.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modes/corfu/evil-collection-corfu.el b/modes/corfu/evil-collection-corfu.el index 2d69f3f..4620192 100644 --- a/modes/corfu/evil-collection-corfu.el +++ b/modes/corfu/evil-collection-corfu.el @@ -126,7 +126,7 @@ This key theme variable may be refactored in the future so use with caution." (evil-collection-define-key 'insert 'corfu-map (kbd "C-d") 'corfu-scroll-down)) - (advice-add 'corfu--setup :after 'evil-normalize-keymaps) + (advice-add 'corfu--setup :after (lambda (&rest _) (evil-normalize-keymaps))) (advice-add 'corfu--teardown :after 'evil-normalize-keymaps)) (provide 'evil-collection-corfu)