From 2eb68ac588f68c7d6706618754524595138900a1 Mon Sep 17 00:00:00 2001 From: Abdelhak Bougouffa Date: Wed, 3 Jan 2024 14:40:33 +0100 Subject: [PATCH] Fix `corfu--teardown` signature (backward compatible) A new commit in `corfu` changes the signature of `corfu--teardown`, this PR fixes that. ## Ref https://github.com/emacs-evil/evil-collection/pull/767#issuecomment-1875366132 --- 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 4620192..a41b3da 100644 --- a/modes/corfu/evil-collection-corfu.el +++ b/modes/corfu/evil-collection-corfu.el @@ -127,7 +127,7 @@ This key theme variable may be refactored in the future so use with caution." (kbd "C-d") 'corfu-scroll-down)) (advice-add 'corfu--setup :after (lambda (&rest _) (evil-normalize-keymaps))) - (advice-add 'corfu--teardown :after 'evil-normalize-keymaps)) + (advice-add 'corfu--teardown :after (lambda (&rest _) (evil-normalize-keymaps)))) (provide 'evil-collection-corfu) ;;; evil-collection-corfu.el ends here