fix(vertico): adapt to targets changing to plists

embark targets changed internally to plists a while back. This didn't
really seem to break anything but it's best to be up to date with the
upstream representation.
This commit is contained in:
Itai Y. Efrat 2021-09-17 17:24:22 +03:00 committed by Henrik Lissner
parent 595a5e665c
commit dda5f558b2

View file

@ -214,8 +214,8 @@ targets."
(if (eq (caar targets) 'embark-become)
"Become"
(format "Act on %s '%s'%s"
(caar targets)
(embark--truncate-target (cdar targets))
(plist-get (car targets) :type)
(embark--truncate-target (plist-get (car targets) :target))
(if (cdr targets) "" "")))
(if prefix (lookup-key keymap prefix) keymap)
nil nil t))))