diff --git a/modules/feature/evil/config.el b/modules/feature/evil/config.el index 8538f206b..7b51889be 100644 --- a/modules/feature/evil/config.el +++ b/modules/feature/evil/config.el @@ -33,7 +33,9 @@ variable for an explanation of the defaults (in comments). See #'+evil*fix-evil-collection-fix-helm-bs) (dolist (sym +evil-collection-disabled-list) - (setq evil-collection-mode-list (delq sym evil-collection-mode-list))) + (setq evil-collection-mode-list + (funcall (if (symbolp sym) #'delq #'delete) + sym evil-collection-mode-list))) (evil-collection-init))