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
This commit is contained in:
Abdelhak Bougouffa 2024-01-03 14:40:33 +01:00 committed by James
parent cf1a11912d
commit 2eb68ac588
1 changed files with 1 additions and 1 deletions

View File

@ -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