summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdelhak Bougouffa <abougouffa@fedoraproject.org>2024-01-03 14:40:33 +0100
committerJames <1227856+jojojames@users.noreply.github.com>2024-01-03 12:20:31 -0500
commit2eb68ac588f68c7d6706618754524595138900a1 (patch)
treeb50b45a422833ba68f72fe4f2cd4cf580b62c780
parentcf1a11912d1e77a197fab0e4f82d0c2268084455 (diff)
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
-rw-r--r--modes/corfu/evil-collection-corfu.el2
1 files changed, 1 insertions, 1 deletions
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