From 05c8daf24ab10612c6bc6f635371f327cc59e511 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 29 May 2018 15:35:20 +0200 Subject: [PATCH] Support non-symbol entries in +evil-collection-disabled-list --- modules/feature/evil/config.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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))