Support non-symbol entries in +evil-collection-disabled-list
This commit is contained in:
parent
6bb5946765
commit
05c8daf24a
1 changed files with 3 additions and 1 deletions
|
@ -33,7 +33,9 @@ variable for an explanation of the defaults (in comments). See
|
||||||
#'+evil*fix-evil-collection-fix-helm-bs)
|
#'+evil*fix-evil-collection-fix-helm-bs)
|
||||||
|
|
||||||
(dolist (sym +evil-collection-disabled-list)
|
(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))
|
(evil-collection-init))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue