From dda5f558b24d974f13e8cbae797e35776630b819 Mon Sep 17 00:00:00 2001 From: "Itai Y. Efrat" Date: Fri, 17 Sep 2021 17:24:22 +0300 Subject: [PATCH] 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. --- modules/completion/vertico/autoload/vertico.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/completion/vertico/autoload/vertico.el b/modules/completion/vertico/autoload/vertico.el index 175983747..b85595a51 100644 --- a/modules/completion/vertico/autoload/vertico.el +++ b/modules/completion/vertico/autoload/vertico.el @@ -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))))