From f5e120eefe5d4c0ad3503b589e20afa1347493e2 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 26 May 2020 20:31:09 -0400 Subject: [PATCH] Fix #3219: icon repetition after doom/reload Due to faulty member detection (`cl-pushnew` uses `eql` by default, which can't compare compound data structures). --- modules/completion/ivy/config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/completion/ivy/config.el b/modules/completion/ivy/config.el index 23f95a7af..c48bd7ad4 100644 --- a/modules/completion/ivy/config.el +++ b/modules/completion/ivy/config.el @@ -112,7 +112,8 @@ evil-ex-specific constructs, so we disable it solely in evil-ex." (when (featurep! +icons) (cl-pushnew '(+ivy-rich-buffer-icon) (cadr (plist-get ivy-rich-display-transformers-list - 'ivy-switch-buffer)))) + 'ivy-switch-buffer)) + :test #'equal)) ;; Enahnce the appearance of a couple counsel commands (plist-put! ivy-rich-display-transformers-list