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).
This commit is contained in:
Henrik Lissner 2020-05-26 20:31:09 -04:00
parent ee5d0a8781
commit f5e120eefe
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -112,7 +112,8 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
(when (featurep! +icons) (when (featurep! +icons)
(cl-pushnew '(+ivy-rich-buffer-icon) (cl-pushnew '(+ivy-rich-buffer-icon)
(cadr (plist-get ivy-rich-display-transformers-list (cadr (plist-get ivy-rich-display-transformers-list
'ivy-switch-buffer)))) 'ivy-switch-buffer))
:test #'equal))
;; Enahnce the appearance of a couple counsel commands ;; Enahnce the appearance of a couple counsel commands
(plist-put! ivy-rich-display-transformers-list (plist-put! ivy-rich-display-transformers-list