summaryrefslogtreecommitdiff
path: root/modes
diff options
context:
space:
mode:
authorAbdelhak Bougouffa <abougouffa@fedoraproject.org>2023-12-25 15:32:17 +0100
committerJames <1227856+jojojames@users.noreply.github.com>2023-12-25 15:45:32 -0500
commitcf1a11912d1e77a197fab0e4f82d0c2268084455 (patch)
tree4a6faec3ba38835b4a1822648d3d8152adca5720 /modes
parentc30158a0df2e252f15cffcd61ceb0ad58a395096 (diff)
Fix the new `corfu--setup` signature (backward compatible)
Diffstat (limited to 'modes')
-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 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)