From 9e624b5dfe54b7d8523d55313c22a5ef54659540 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 28 Mar 2025 03:23:40 -0400 Subject: [PATCH] fix(evil): +evil-collection-disabled-list implementation Fixes clearing sub-list entries in evil-collection-mode-list (none at the moment, but it could bite me in the future). Amend: 5e43944ef324 --- modules/editor/evil/config.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/editor/evil/config.el b/modules/editor/evil/config.el index d1428d77d..f2bdbfd7c 100644 --- a/modules/editor/evil/config.el +++ b/modules/editor/evil/config.el @@ -210,9 +210,9 @@ don't offer any/enough real value to users.") (defvar evil-collection-outline-enable-in-minor-mode-p nil) :config (dolist (sym +evil-collection-disabled-list) - (if-let* ((elt (memq sym evil-collection-mode-list))) - (cl-callf2 delq sym evil-collection-mode-list) - (cl-callf2 delete (assq elt evil-collection-mode-list) evil-collection-mode-list))) + (if-let* ((elt (assq sym evil-collection-mode-list))) + (cl-callf2 delete elt evil-collection-mode-list) + (cl-callf2 delq sym evil-collection-mode-list))) (setq evil-collection-key-blacklist (append (list doom-leader-key doom-localleader-key