From e55718869252a8cd46e61e350bb514194a37f2f8 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Mon, 14 Mar 2022 15:50:10 +0100 Subject: [PATCH] Use transient's definition macros by their new names See https://github.com/magit/transient/issues/192. --- modes/magit/evil-collection-magit.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modes/magit/evil-collection-magit.el b/modes/magit/evil-collection-magit.el index 6964545..999f838 100644 --- a/modes/magit/evil-collection-magit.el +++ b/modes/magit/evil-collection-magit.el @@ -577,9 +577,9 @@ evil-collection-magit affects.") (magit-dispatch "k" "x" magit-discard) (magit-remote "k" "x" magit-remote-remove) ;; FIXME: how to properly handle a popup with a key that appears twice (in - ;; `define-transient-command' definition)? Currently we rely on: + ;; `transient-define-prefix' definition)? Currently we rely on: ;; 1. first call to `evil-collection-magit-change-popup-key' changes the first "V" - ;; entry of `magit-revert' (the first entry in `define-transient-command' + ;; entry of `magit-revert' (the first entry in `transient-define-prefix' ;; definition of `magit-revert'), second call changes the second "V". ;; 2. the remapping here are in the same order as in `magit-revert' ;; definition