Skip to content

Commit

Permalink
Fix corfu--teardown signature (backward compatible)
Browse files Browse the repository at this point in the history
A new commit in `corfu` changes the signature of `corfu--teardown`, this PR fixes that.

## Ref
#767 (comment)
  • Loading branch information
abougouffa authored and jojojames committed Jan 3, 2024
1 parent cf1a119 commit 2eb68ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modes/corfu/evil-collection-corfu.el
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2eb68ac

Please sign in to comment.